mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
TRIVIAL: remove obsolete comments
This commit is contained in:
parent
94fd592dfa
commit
af4101f783
2 changed files with 0 additions and 2 deletions
|
@ -266,7 +266,6 @@ module Export
|
||||||
|
|
||||||
def notify_user
|
def notify_user
|
||||||
log "Notifying '#{@user.username}' of the end of the backup..."
|
log "Notifying '#{@user.username}' of the end of the backup..."
|
||||||
# NOTE: will only notify if @user != Discourse.site_contact_user
|
|
||||||
if @success
|
if @success
|
||||||
SystemMessage.create_from_system_user(@user, :export_succeeded)
|
SystemMessage.create_from_system_user(@user, :export_succeeded)
|
||||||
else
|
else
|
||||||
|
|
|
@ -282,7 +282,6 @@ module Import
|
||||||
def notify_user
|
def notify_user
|
||||||
if user = User.find_by(email: @user_info[:email])
|
if user = User.find_by(email: @user_info[:email])
|
||||||
log "Notifying '#{user.username}' of the end of the restore..."
|
log "Notifying '#{user.username}' of the end of the restore..."
|
||||||
# NOTE: will only notify if user != Discourse.site_contact_user
|
|
||||||
if @success
|
if @success
|
||||||
SystemMessage.create_from_system_user(user, :import_succeeded)
|
SystemMessage.create_from_system_user(user, :import_succeeded)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue