aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTeddy Wing2017-08-02 12:46:44 +0200
committerTeddy Wing2017-08-02 12:46:44 +0200
commit517495a48e2a05c301159fc48573a9994fbff47b (patch)
treee9988174c59ff5386233b784841148b2f00d2a4b /app
parent533804ec2755ba6564122cb4d43a7f8769d9d1ee (diff)
downloadchouette-core-517495a48e2a05c301159fc48573a9994fbff47b.tar.bz2
Import#child_change: Get rid of unnecessary `return` keyword
Refs #3509, #3511
Diffstat (limited to 'app')
-rw-r--r--app/models/import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/import.rb b/app/models/import.rb
index 47f41893f..f8702c115 100644
--- a/app/models/import.rb
+++ b/app/models/import.rb
@@ -33,7 +33,7 @@ class Import < ActiveRecord::Base
return update(status: 'failed')
end
- return update(status: 'successful') if ready?
+ update(status: 'successful') if ready?
end
def ready?