From e5e4317217b4ccb2c78a3a7dc29327f0dad9ab25 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 1 Mar 2016 12:17:39 -0800 Subject: [PATCH] Updated deprecated doc for flash method --- lib/Cake/Controller/Controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Controller/Controller.php b/lib/Cake/Controller/Controller.php index 4dead1942..b97ab5b42 100644 --- a/lib/Cake/Controller/Controller.php +++ b/lib/Cake/Controller/Controller.php @@ -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;