diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-05-25 12:27:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 12:27:11 +0200 |
commit | 3fd2aadb2323728e15fe2d49928b4af09447cf0f (patch) | |
tree | b3570a6471e46e2a69c438a16b421444d110ae6d /app/policies | |
parent | 4ab3ad3bef44d245a7c02d05c7cc1788f17b2dd0 (diff) |
Various code cleanup (#1782)
* Remove duplicate in_chosen_languages definition * Use `DEFAULT_FIELDS_SIZE` instead of `MAX_FIELDS` to reduce code differences with upstream * Remove duplicate annotation * Fix incorrect cross-flavor imports * Remove deprecated `hide_network` setting (replaced by account column) * Remove unused KeywordMutesHelper * Remove trailing spaces * Remove commit_hash from InstancePresenter, as it has been unused since mid-2017
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/status_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/status_policy.rb b/app/policies/status_policy.rb index d3a3b36c0..75d95a90b 100644 --- a/app/policies/status_policy.rb +++ b/app/policies/status_policy.rb @@ -97,7 +97,7 @@ class StatusPolicy < ApplicationPolicy def author record.account end - + def local_only? record.local_only? end |