Index: branches/5.3.x/core/kernel/managers/scheduled_task_manager.php =================================================================== diff -u -r15677 -r15698 --- branches/5.3.x/core/kernel/managers/scheduled_task_manager.php (.../scheduled_task_manager.php) (revision 15677) +++ branches/5.3.x/core/kernel/managers/scheduled_task_manager.php (.../scheduled_task_manager.php) (revision 15698) @@ -1,6 +1,6 @@ 0 AND ' . adodb_mktime() . ' - LastRunOn > Timeout'; $sql = 'SELECT * - FROM ' . $this->Application->getUnitOption('scheduled-task', 'TableName') . ' + FROM ' . $this->Application->getUnitConfig('scheduled-task')->getTableName() . ' WHERE (Status = ' . STATUS_ACTIVE . ') AND ((LastRunStatus != ' . ScheduledTask::LAST_RUN_RUNNING . ') OR (' . $timeout_clause . '))'; $scheduled_tasks = $this->Conn->Query($sql, 'Name'); } @@ -221,7 +221,7 @@ { $this->Conn->doUpdate( $fields_hash, - $this->Application->getUnitOption('scheduled-task', 'TableName'), + $this->Application->getUnitConfig('scheduled-task')->getTableName(), 'Name = ' . $this->Conn->qstr($scheduled_task_data['Name']) );