aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-08-22 11:00:54 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-08-22 11:00:54 +0000
commit88c324a2a3d705cd44ce749af44079849ca091e7 (patch)
tree32b2e2f172e9e927b7bde92507c6def5963db7c2 /phpBB/includes/functions.php
parentf56391d5f7d2170397759e26962925635e6a8263 (diff)
downloadforums-88c324a2a3d705cd44ce749af44079849ca091e7.tar
forums-88c324a2a3d705cd44ce749af44079849ca091e7.tar.gz
forums-88c324a2a3d705cd44ce749af44079849ca091e7.tar.bz2
forums-88c324a2a3d705cd44ce749af44079849ca091e7.tar.xz
forums-88c324a2a3d705cd44ce749af44079849ca091e7.zip
comments
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8778 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 57423af6b3..05eef16819 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2177,9 +2177,8 @@ function meta_refresh($time, $url)
/**
* Add a secret hash for use in links/GET requests
-* @param string $link_name The name of the link; has to match the name used in check_form_key, otherwise no restrictions apply
-* @param int $length The length of the key to generate
-* @return sting the hash
+* @param string $link_name The name of the link; has to match the name used in check_link_hash, otherwise no restrictions apply
+* @return string the hash
*/
function generate_link_hash($link_name)
@@ -2196,8 +2195,7 @@ function generate_link_hash($link_name)
/**
* checks a link hash - for GET requests
* @param string $token the submitted token
-* @param string $link_name The name of the link; has to match the name used in check_form_key, otherwise no restrictions apply
-* @param int $length The length of the key to check
+* @param string $link_name The name of the link
* @return boolean true if all is fine
*/
function check_link_hash($token, $link_name)