Updated deprecated doc for flash method

This commit is contained in:
Alex 2016-03-01 12:17:39 -08:00
parent 78f199f8a0
commit e5e4317217

View file

@ -534,7 +534,7 @@ class Controller extends Object implements CakeEventListener {
*/
protected function _getScaffold(CakeRequest $request) {
return new Scaffold($this, $request);
}
}f
/**
* Merge components, helpers, and uses vars from
@ -1006,7 +1006,7 @@ class Controller extends Object implements CakeEventListener {
* @param string $layout Layout you want to use, defaults to 'flash'
* @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::flash
* @deprecated 3.0.0 Will be removed in 3.0. Use Session::setFlash().
* @deprecated 3.0.0 Will be removed in 3.0. Use Flash::set() with version 2.7+ or Session::setFlash() prior to 2.7.
*/
public function flash($message, $url, $pause = 1, $layout = 'flash') {
$this->autoRender = false;