* compatible with that of model::delete().
This commit is contained in:
@@ -298,10 +298,11 @@ class deptModel extends model
|
||||
* Delete a department.
|
||||
*
|
||||
* @param int $deptID
|
||||
* @param null $null compatible with that of model::delete()
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function delete($deptID)
|
||||
public function delete($deptID, $null = null)
|
||||
{
|
||||
$this->dao->delete()->from(TABLE_DEPT)->where('id')->eq($deptID)->exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user