Merge branch 'master' into 2.7

This commit is contained in:
mark_story 2015-03-14 22:08:53 -04:00
commit 8cadb553d7
3 changed files with 3 additions and 3 deletions

View file

@ -399,7 +399,7 @@ class Scaffold {
}
} else {
throw new MissingActionException(array(
'controller' => $this->controller->name,
'controller' => get_class($this->controller),
'action' => $request->action
));
}

View file

@ -259,7 +259,7 @@ class App {
*
* Usage:
*
* `App::build(array(Model' => array('/a/full/path/to/models/'))); will setup a new search path for the Model package`
* `App::build(array('Model' => array('/a/full/path/to/models/'))); will setup a new search path for the Model package`
*
* `App::build(array('Model' => array('/path/to/models/')), App::RESET); will setup the path as the only valid path for searching models`
*

View file

@ -2652,7 +2652,7 @@ class Model extends Object implements CakeEventListener {
* Fields are treated as SQL snippets, to insert literal values manually escape your data.
* @param mixed $conditions Conditions to match, true for all records
* @return bool True on success, false on failure
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-updateall-array-fields-array-conditions
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-updateall-array-fields-mixed-conditions
*/
public function updateAll($fields, $conditions = true) {
return $this->getDataSource()->update($this, $fields, null, $conditions);