Passed
Push — master ( 57d36e...277087 )
by Fabio
05:57
created
framework/Util/Cron/TDbCronModule.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 		$task->setProcessCount($count = ($task->getProcessCount() + 1));
302 302
 		
303 303
 		$cmd = $this->getDbConnection()->createCommand(
304
-			"UPDATE {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL"
304
+			"update {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL"
305 305
 		);
306 306
 		$cmd->bindValue(":count", $count, PDO::PARAM_STR);
307 307
 		$cmd->bindValue(":time", $time, PDO::PARAM_STR);
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
 		}
541 541
 		
542 542
 		$cmd = $this->getDbConnection()->createCommand(
543
-			"UPDATE {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, userid=:userid, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL"
543
+			"update {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, userid=:userid, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL"
544 544
 		);
545 545
 		$cmd->bindValue(":schedule", $schedule = $task->getSchedule(), PDO::PARAM_STR);
546 546
 		$cmd->bindValue(":task", $taskExec = $task->getTask(), PDO::PARAM_STR);
Please login to merge, or discard this patch.
framework/Util/Cron/TDbCronCleanLogTask.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 			$count = $cron->clearCronLog($this->getTimePeriod());
50 50
 			
51 51
 			if ($cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) {
52
-				$cron->getOutputWriter()->writeLine("Cleared {$count} Cron Task Logs", TShellWriter::GREEN);
52
+				$cron->getOutputWriter()->writeLine("cleared {$count} Cron Task Logs", TShellWriter::GREEN);
53 53
 			}
54 54
 		} elseif (is_object($cron) && $cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) {
55 55
 			$cron->getOutputWriter()->writeLine("No DB Cron Module to clean", TShellWriter::RED);
Please login to merge, or discard this patch.