diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-07-01 19:05:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 19:05:21 +0200 |
commit | 6d23d40420e4548778f3ca4ed9e8cb16e0eb0073 (patch) | |
tree | 814fe2ea2f3b6b8ab9db2d12b289ba49db44c8fd /app/models/home_feed.rb | |
parent | e9ea960773ee6a1068623374b21d768918fbc93b (diff) |
Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)
Diffstat (limited to 'app/models/home_feed.rb')
-rw-r--r-- | app/models/home_feed.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/home_feed.rb b/app/models/home_feed.rb index 1fd506138..0fe9dae46 100644 --- a/app/models/home_feed.rb +++ b/app/models/home_feed.rb @@ -8,6 +8,6 @@ class HomeFeed < Feed end def regenerating? - redis.exists("account:#{@id}:regeneration") + redis.exists?("account:#{@id}:regeneration") end end |