From af4101f7836883a94b1cc12920c89c76aaa99d17 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Wed, 2 Jul 2014 16:50:54 +0530 Subject: [PATCH] TRIVIAL: remove obsolete comments --- lib/export/exporter.rb | 1 - lib/import/importer.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/export/exporter.rb b/lib/export/exporter.rb index 495ee6a5c..19ca277e8 100644 --- a/lib/export/exporter.rb +++ b/lib/export/exporter.rb @@ -266,7 +266,6 @@ module Export def notify_user log "Notifying '#{@user.username}' of the end of the backup..." - # NOTE: will only notify if @user != Discourse.site_contact_user if @success SystemMessage.create_from_system_user(@user, :export_succeeded) else diff --git a/lib/import/importer.rb b/lib/import/importer.rb index ca62d6ce2..5e1be7693 100644 --- a/lib/import/importer.rb +++ b/lib/import/importer.rb @@ -282,7 +282,6 @@ module Import def notify_user if user = User.find_by(email: @user_info[:email]) log "Notifying '#{user.username}' of the end of the restore..." - # NOTE: will only notify if user != Discourse.site_contact_user if @success SystemMessage.create_from_system_user(user, :import_succeeded) else