aboutsummaryrefslogtreecommitdiff
path: root/lib/task/isisImportTask.class.php
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2010-07-29 16:03:06 -0300
committerSilvio <s1lv10@uol.com.br>2010-07-29 16:03:06 -0300
commit31815f9f5393c8db35bf9cb58182c3fd817ef9d0 (patch)
treed1336b545a5b12bf7d994cc4766f4a18404249ef /lib/task/isisImportTask.class.php
parentaddef30dd8bcab2e4455a6c4b1578007ff112b11 (diff)
downloadsf_isis_importer_plugin-31815f9f5393c8db35bf9cb58182c3fd817ef9d0.tar.gz
sf_isis_importer_plugin-31815f9f5393c8db35bf9cb58182c3fd817ef9d0.tar.bz2
Renaming IsisImporter classes
Diffstat (limited to 'lib/task/isisImportTask.class.php')
-rw-r--r--lib/task/isisImportTask.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/task/isisImportTask.class.php b/lib/task/isisImportTask.class.php
index b6d70af..76abd4f 100644
--- a/lib/task/isisImportTask.class.php
+++ b/lib/task/isisImportTask.class.php
@@ -30,7 +30,8 @@ EOF;
$connection = $databaseManager->getDatabase($options['connection'])->getConnection();
// Initialize an IsisConnector.
- $isis = new CineImporter($options['loglevel']);
+ $class = (class_exists('IsisImporterManager')) ? 'IsisImporterManager' : 'sfIsisImporterManager';
+ $isis = new $class($options['loglevel']);
// Error handling.
if ($isis == FALSE)