summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-11-26 15:48:01 +0200
committerValery Sizov <valery@gitlab.com>2015-11-26 17:03:43 +0200
commit7f214cee74796ceaf7b01bd6e133d4d54c5123db (patch)
treecefc7a17adadbee1a9d349f4f5843d63290482a7 /app/mailers
parent3e0fe27627f5b074a35ce2e1a0794f869f8abc15 (diff)
downloadgitlab-ce-7f214cee74796ceaf7b01bd6e133d4d54c5123db.tar.gz
Migrate mailers to ActiveJob
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/base_mailer.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/mailers/base_mailer.rb b/app/mailers/base_mailer.rb
index aedb0889185..8b83bbd93b7 100644
--- a/app/mailers/base_mailer.rb
+++ b/app/mailers/base_mailer.rb
@@ -8,10 +8,6 @@ class BaseMailer < ActionMailer::Base
default from: Proc.new { default_sender_address.format }
default reply_to: Proc.new { default_reply_to_address.format }
- def self.delay
- delay_for(2.seconds)
- end
-
def can?
Ability.abilities.allowed?(current_user, action, subject)
end