* Rename ACTIONMODEL to actionModel.

This commit is contained in:
dingguodong
2023-09-07 09:35:38 +08:00
parent 559a6971d1
commit bfad848bee
13 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ class program extends control
$program = $this->dao->select('*')->from(TABLE_PROGRAM)->where('id')->eq($programID)->fetch();
$this->dao->update(TABLE_PROGRAM)->set('deleted')->eq(1)->where('id')->eq($programID)->exec();
$this->loadModel('action')->create('program', $programID, 'deleted', '', ACTIONMODEL::CAN_UNDELETED);
$this->loadModel('action')->create('program', $programID, 'deleted', '', actionModel::CAN_UNDELETED);
return $this->send(array('result' => 'success'));
}