Browse Source

Remove deprecation

Mark Scherer 10 years ago
parent
commit
5421f27328
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Model/MyModel.php

+ 1 - 1
Model/MyModel.php

@@ -195,7 +195,7 @@ class MyModel extends ShimModel {
 			$data[$customOptions['timestampField']] = date(FORMAT_DB_DATETIME);
 		}
 		$data[$this->primaryKey] = $id;
-		return $this->save($data, false);
+		return $this->save($data, ['validate' => false]);
 	}
 
 	/**