diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sfIsisImporterManager.class.php | 8 | ||||
-rw-r--r-- | lib/task/isisInfoTask.class.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/sfIsisImporterManager.class.php b/lib/sfIsisImporterManager.class.php index ce65c7b..aa8ecb8 100644 --- a/lib/sfIsisImporterManager.class.php +++ b/lib/sfIsisImporterManager.class.php @@ -178,15 +178,15 @@ class sfIsisImporterManager extends IsisConnector { // Determine base model and max entries. $this->log('Starting mass import procedure for database schema "'. $database .'".', 'notice'); - $base_model = $importer->isis->format['import']['base_model']; - $this->max = ($entries != NULL && $entries + $offset <= $importer->isis->entries) ? $entries + $offset : $importer->isis->entries; + $base_model = $importer->isis->format['import']['base_model']; + $this->entries = ($entries != NULL && $entries + $offset <= $importer->isis->entries) ? $entries + $offset : $importer->isis->entries; if ($base_model) { - for ($entry = $offset + 1; $entry <= $this->max; $entry++) + for ($entry = $offset + 1; $entry <= $this->entries; $entry++) { $importer->addEntry($base_model, $entry); - $this->progress($entry); + $this->progress($entry, $this->entries); } } diff --git a/lib/task/isisInfoTask.class.php b/lib/task/isisInfoTask.class.php index 1124773..c9de868 100644 --- a/lib/task/isisInfoTask.class.php +++ b/lib/task/isisInfoTask.class.php @@ -19,7 +19,7 @@ class isisInfoTask extends mySfTask The [isis:info|INFO] task lists information of ISIS databases. Call it with: - [php symfony isis:import|INFO] + [php symfony isis:info|INFO] EOF; } |