From 0e527f46bf2f3c42b034d527fee5dc399c27171a Mon Sep 17 00:00:00 2001 From: phpnut Date: Fri, 4 Aug 2006 08:07:50 +0000 Subject: [PATCH] Reomved doc block comment from FormHelper class. Corrected change made to the $expires variable git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3358 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/controller/components/security.php | 2 +- cake/libs/view/helpers/form.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cake/libs/controller/components/security.php b/cake/libs/controller/components/security.php index 9d30dccad..c1fb01934 100644 --- a/cake/libs/controller/components/security.php +++ b/cake/libs/controller/components/security.php @@ -143,7 +143,7 @@ class SecurityComponent extends Object { // Add auth key for new form posts $authKey = Security::generateAuthKey(); - $expires = strtotime('+'.Security::inactiveMins().' seconds'); + $expires = strtotime('+'.Security::inactiveMins().' minutes'); $token = array( 'key' => $authKey, 'expires' => $expires, diff --git a/cake/libs/view/helpers/form.php b/cake/libs/view/helpers/form.php index 0c16c3ead..84c5ccf8e 100644 --- a/cake/libs/view/helpers/form.php +++ b/cake/libs/view/helpers/form.php @@ -64,7 +64,6 @@ class FormHelper extends Helper { * @param string $type FORM type (POST/GET). * @param array $htmlAttributes * @return string An formatted opening FORM tag. - * @deprecated This is very WYSIWYG unfriendly, use HtmlHelper::url() to get contents of "action" attribute. Version 0.9.2. */ function create($target = null, $type = 'post', $htmlAttributes = null) { $htmlAttributes['action'] = $this->Html->url($target);