mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updated deprecated doc for flash method
This commit is contained in:
parent
78f199f8a0
commit
e5e4317217
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue