fix isssue related to delete cron job
This commit is contained in:
@@ -328,7 +328,7 @@ class ci extends control
|
||||
$this->ci->delete(TABLE_CI_TASK, $id);
|
||||
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
|
||||
$command = 'moduleName=ci&methodName=exeCitask&id=' . $id;
|
||||
$command = 'moduleName=ci&methodName=exeCitask&parm=' . $id;
|
||||
$this->dao->delete()->from(TABLE_CRON)->where('command')->eq($command)->exec();
|
||||
|
||||
$this->send(array('result' => 'success'));
|
||||
|
||||
Reference in New Issue
Block a user