return $res;
}
+ // delete calls PEAR::isError from DB_DataObject, so let's make that disappear too
+ public function delete($useWhere = false)
+ {
+ // avoid those annoying PEAR::DB strict standards warnings it causes
+ $old = error_reporting();
+ error_reporting(error_reporting() & ~E_STRICT);
+
+ $res = parent::delete($useWhere);
+
+ // reset
+ error_reporting($old);
+ return $res;
+ }
+
static public function factory($table = '')
{
// avoid those annoying PEAR::DB strict standards warnings it causes