Invite_administrateur!: remove unused return

This commit is contained in:
simon lehericey 2019-11-05 09:31:06 +01:00 committed by Pierre de La Morinerie
parent 745ede229e
commit 243bc2887f

View file

@ -53,8 +53,6 @@ class User < ApplicationRecord
reset_password_token = set_reset_password_token reset_password_token = set_reset_password_token
AdministrationMailer.invite_admin(self, reset_password_token, administration_id).deliver_later AdministrationMailer.invite_admin(self, reset_password_token, administration_id).deliver_later
reset_password_token
end end
def remind_invitation! def remind_invitation!