aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTeddy Wing2017-08-29 13:08:02 +0200
committerTeddy Wing2017-08-29 13:08:02 +0200
commitf9d176ebccd7eebb505154ce84252bc055cfedc9 (patch)
treeb309f22ee73c1f1dca7393c01224a2b4b2a7ed38 /app
parent8c8127d4958e9c9d18495667984a78b438983eda (diff)
downloadchouette-core-f9d176ebccd7eebb505154ce84252bc055cfedc9.tar.bz2
Import: Add TODOs
A bunch of things that need to be written to get this in proper working order.
Diffstat (limited to 'app')
-rw-r--r--app/models/import.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/import.rb b/app/models/import.rb
index 286eb3a76..e5da74d94 100644
--- a/app/models/import.rb
+++ b/app/models/import.rb
@@ -61,6 +61,7 @@ class Import < ActiveRecord::Base
status = self.status
if children_failed_count > 0
status = 'failed'
+ # TODO: Update `ended_at`
elsif status_count['successful'] == children_count
status = 'successful'
attributes[:ended_at] = Time.now