From 8a76b86c8588fcde72da04b1f77b58c6abea90cc Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 26 Aug 2008 18:35:44 +0000 Subject: [PATCH] Updating doc block for Controller::flash(). Closes #5333 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7511 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/controller/controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php index 027f89412..a0c392aff 100644 --- a/cake/libs/controller/controller.php +++ b/cake/libs/controller/controller.php @@ -778,12 +778,12 @@ class Controller extends Object { header("Pragma: no-cache"); } /** - * Shows a message to the user $time seconds, then redirects to $url + * Shows a message to the user $pause seconds, then redirects to $url * Uses flash.thtml as a layout for the messages * * @param string $message Message to display to the user * @param string $url Relative URL to redirect to after the time expires - * @param integer $time Time to show the message + * @param integer $pause Time to show the message * @access public */ function flash($message, $url, $pause = 1) {