diff --git a/airtime_mvc/application/controllers/plugins/PageLayoutInitPlugin.php b/airtime_mvc/application/controllers/plugins/PageLayoutInitPlugin.php index bf847c32c..92a9cf39e 100644 --- a/airtime_mvc/application/controllers/plugins/PageLayoutInitPlugin.php +++ b/airtime_mvc/application/controllers/plugins/PageLayoutInitPlugin.php @@ -65,7 +65,7 @@ class PageLayoutInitPlugin extends Zend_Controller_Plugin_Abstract */ if (getenv("AIRTIME_UNIT_TEST") != 1) { $taskManager = TaskManager::getInstance(); - $taskManager->runTask(TaskFactory::UPGRADE); // Run the upgrade on each request (if it needs to be run) + $taskManager->runTask(AirtimeTask::UPGRADE); // Run the upgrade on each request (if it needs to be run) //This will do the upgrade too if it's needed... $taskManager->runTasks(); }