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
This commit is contained in:
phpnut 2006-08-04 08:07:50 +00:00
parent d0d1ce73cd
commit 0e527f46bf
2 changed files with 1 additions and 2 deletions

View file

@ -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,

View file

@ -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);