summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-06-22 08:55:07 +0200
committerJames Lopez <james@jameslopez.es>2017-06-23 11:41:42 +0200
commit785cbb79e255c8369ca5eb916207304f39d188ad (patch)
treeabd792d12be1f35d868db591793311eb32d92370 /app/models
parent0c8e7f49d1ef32ed5ea1bdd7e26dd5e169bad359 (diff)
downloadgitlab-ce-785cbb79e255c8369ca5eb916207304f39d188ad.tar.gz
refactor emails service
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 117f54cf312..d53837fbdb2 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -496,8 +496,6 @@ class User < ActiveRecord::Base
if primary_email_record
Emails::DestroyService.new(self, self, email: email).execute
Emails::CreateService.new(self, self, email: email_was).execute
-
- update_secondary_emails!
end
end