Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
5f733ad8
Unverified
Commit
5f733ad8
authored
2 years ago
by
Eugen Rochko
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Remove unused method `searchable?` on accounts (#19489)
It called the wrong methods, but nothing uses it
parent
09f04d71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/models/account.rb
+0
-4
app/models/account.rb
with
0 additions
and
4 deletions
+0
-4
app/models/account.rb
+
0
-
4
View file @
5f733ad8
...
...
@@ -191,10 +191,6 @@ class Account < ApplicationRecord
"acct:
#{
local_username_and_domain
}
"
end
def
searchable?
!
(
suspended?
||
moved?
)
&&
(
!
local?
||
(
approved?
&&
confirmed?
))
end
def
possibly_stale?
last_webfingered_at
.
nil?
||
last_webfingered_at
<=
1
.
day
.
ago
end
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets