Passed
Push — master ( 46bc20...476c9e )
by Fabio
07:16
created
framework/Util/Cron/TDbCronModule.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
 		$task->setProcessCount($count = ($task->getProcessCount() + 1));
334 334
 
335 335
 		$cmd = $this->getDbConnection()->createCommand(
336
-			"UPDATE {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL"
336
+			"update {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL"
337 337
 		);
338 338
 		$cmd->bindValue(":count", $count, PDO::PARAM_STR);
339 339
 		$cmd->bindValue(":time", $time, PDO::PARAM_STR);
@@ -604,7 +604,7 @@  discard block
 block discarded – undo
604 604
 		}
605 605
 
606 606
 		$cmd = $this->getDbConnection()->createCommand(
607
-			"UPDATE {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, username=:username, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL"
607
+			"update {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, username=:username, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL"
608 608
 		);
609 609
 		$cmd->bindValue(":schedule", $schedule, PDO::PARAM_STR);
610 610
 		$cmd->bindValue(":task", $taskExec = $task->getTask(), PDO::PARAM_STR);
Please login to merge, or discard this patch.