Updating the doc block for Datasource::delete()

Fixes #2054
This commit is contained in:
mark_story 2011-10-05 22:10:14 -04:00
parent c143908a03
commit 2fa2de441f

View file

@ -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;
}
/**