about summary refs log tree commit diff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-08-25 23:38:22 +0200
committerGitHub <noreply@github.com>2022-08-25 23:38:22 +0200
commit0b3e4fd5de392969b624719b2eb3f86277b6ac1f (patch)
tree3a036e1d0652ed199be6fc09ce0cd4a3ac398c5f /app/models/user.rb
parent5b0e8cc92b9ca0ab0dc24366d95f67a88c470173 (diff)
Remove digest e-mails (#17985)
* Remove digest e-mails

* Remove digest-related code
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 18b9d5928..342f5e6cc 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -289,10 +289,6 @@ class User < ApplicationRecord
     settings.default_privacy || (account.locked? ? 'private' : 'public')
   end
 
-  def allows_digest_emails?
-    settings.notification_emails['digest']
-  end
-
   def allows_report_emails?
     settings.notification_emails['report']
   end