function delete in dataobjects now don't break strict syntax

This commit is contained in:
Mikael Nordfeldth
2013-10-29 10:20:57 +01:00
parent 23a6b4595f
commit 2dfa0bfcee
19 changed files with 46 additions and 45 deletions

View File

@@ -401,10 +401,10 @@ class Memcached_DataObject extends Safe_DataObject
return $result;
}
function delete()
function delete($useWhere=false)
{
$this->decache(); # while we still have the values!
return parent::delete();
return parent::delete($useWhere);
}
static function memcache() {