#2408 create feedback on promotion; don't send duplicate dmails

This commit is contained in:
Toks
2015-06-13 10:31:12 -04:00
parent 2d34e8f4dd
commit 27101cf5d9
3 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ class JanitorTrial < ActiveRecord::Base
end
def promote_user
user.update_column(:level, User::Levels::JANITOR)
user.promote_to!(User::Levels::JANITOR, :skip_dmail => true)
end
def create_feedback