diff options
| author | Teddy Wing | 2017-08-02 10:34:59 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-08-02 10:35:47 +0200 | 
| commit | b58e284fd33fb8f792c8b27bc070437d140dcdbf (patch) | |
| tree | d7c7d7629ce4b0ddcde8261e6d2f84baf48dc244 /app/services | |
| parent | 7ed3bded976d7b3538fd49a36c6e3e79e6fc56e8 (diff) | |
| download | chouette-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
Diffstat (limited to 'app/services')
| -rw-r--r-- | app/services/parent_import_notifier.rb | 2 | 
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 | 
