diff options
author | James Lopez <james@jameslopez.es> | 2017-06-22 09:55:07 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-06-23 12:41:42 +0300 |
commit | 785cbb79e255c8369ca5eb916207304f39d188ad (patch) | |
tree | abd792d12be1f35d868db591793311eb32d92370 /app/models | |
parent | 0c8e7f49d1ef32ed5ea1bdd7e26dd5e169bad359 (diff) |
refactor emails service
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 2 |
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 |