git rid of deprecated warnings
This commit is contained in:
parent
ebe0c67ead
commit
e6dadea389
|
@ -794,4 +794,9 @@ class User < ActiveRecord::Base
|
||||||
Gitlab::SQL::Union.new([personal_projects.select(:id), groups.select(:id),
|
Gitlab::SQL::Union.new([personal_projects.select(:id), groups.select(:id),
|
||||||
other.select(:id)])
|
other.select(:id)])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Added according to https://github.com/plataformatec/devise/blob/7df57d5081f9884849ca15e4fde179ef164a575f/README.md#activejob-integration
|
||||||
|
def send_devise_notification(notification, *args)
|
||||||
|
devise_mailer.send(notification, self, *args).deliver_later
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue