From b58e284fd33fb8f792c8b27bc070437d140dcdbf Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 2 Aug 2017 10:34:59 +0200 Subject: 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 --- app/services/parent_import_notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3