aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-08-02 10:34:59 +0200
committerTeddy Wing2017-08-02 10:35:47 +0200
commitb58e284fd33fb8f792c8b27bc070437d140dcdbf (patch)
treed7c7d7629ce4b0ddcde8261e6d2f84baf48dc244
parent7ed3bded976d7b3538fd49a36c6e3e79e6fc56e8 (diff)
downloadchouette-core-b58e284fd33fb8f792c8b27bc070437d140dcdbf.tar.bz2
ParentImportNotifier: Remove `self.` prefix when calling class method
Robert pointed out that it isn't necessary to prefix the method call with `self.`. Makes the code cleaner. Refs #3511
-rw-r--r--app/services/parent_import_notifier.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/parent_import_notifier.rb b/app/services/parent_import_notifier.rb
index 8e6245da9..faa5b8b3a 100644
--- a/app/services/parent_import_notifier.rb
+++ b/app/services/parent_import_notifier.rb
@@ -1,6 +1,6 @@
class ParentImportNotifier
def self.notify_when_finished(imports = nil)
- imports ||= self.imports_pending_notification
+ imports ||= imports_pending_notification
imports.each do |import|
import.notify_parent
end