mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
parent
c143908a03
commit
2fa2de441f
1 changed files with 3 additions and 5 deletions
|
@ -375,13 +375,11 @@ class DataSource extends Object {
|
|||
* To-be-overridden in subclasses.
|
||||
*
|
||||
* @param Model $model The model class having record(s) deleted
|
||||
* @param mixed $id Primary key of the model
|
||||
* @param mixed $conditions The conditions to use for deleting.
|
||||
* @access public
|
||||
*/
|
||||
function delete(&$model, $id = null) {
|
||||
if ($id == null) {
|
||||
$id = $model->id;
|
||||
}
|
||||
function delete(&$model, $conditions = null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue