Fix merge error

This commit is contained in:
Duncan Sommerville 2015-10-29 10:18:53 -04:00
parent 59ad4fd7f5
commit b5f31065a7
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class PageLayoutInitPlugin extends Zend_Controller_Plugin_Abstract
*/ */
if (getenv("AIRTIME_UNIT_TEST") != 1) { if (getenv("AIRTIME_UNIT_TEST") != 1) {
$taskManager = TaskManager::getInstance(); $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... //This will do the upgrade too if it's needed...
$taskManager->runTasks(); $taskManager->runTasks();
} }