From 31815f9f5393c8db35bf9cb58182c3fd817ef9d0 Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 29 Jul 2010 16:03:06 -0300 Subject: Renaming IsisImporter classes --- lib/task/isisImportTask.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/task') 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) -- cgit v1.2.3