diff options
Diffstat (limited to 'lib/task')
-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) |