diff options
author | Silvio <s1lv10@uol.com.br> | 2010-07-29 16:03:06 -0300 |
---|---|---|
committer | Silvio <s1lv10@uol.com.br> | 2010-07-29 16:03:06 -0300 |
commit | 31815f9f5393c8db35bf9cb58182c3fd817ef9d0 (patch) | |
tree | d1336b545a5b12bf7d994cc4766f4a18404249ef /lib/task/isisImportTask.class.php | |
parent | addef30dd8bcab2e4455a6c4b1578007ff112b11 (diff) | |
download | sf_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.php | 3 |
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) |