aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-02-18 01:17:30 +0000
committerAndreas Fischer <bantu@phpbb.com>2010-02-18 01:17:30 +0000
commit30b83896a1718400307de7d531c16a152c0f6668 (patch)
tree94adbae30ae2636a0f8ee2f7581c6225e79725dc /phpBB/includes/functions_convert.php
parent68cac354aac9df3866944685186733c4d7305aee (diff)
downloadforums-30b83896a1718400307de7d531c16a152c0f6668.tar
forums-30b83896a1718400307de7d531c16a152c0f6668.tar.gz
forums-30b83896a1718400307de7d531c16a152c0f6668.tar.bz2
forums-30b83896a1718400307de7d531c16a152c0f6668.tar.xz
forums-30b83896a1718400307de7d531c16a152c0f6668.zip
Fix Bug #57755 - Make user_email_hash() function independent from system's architecture.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10499 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index 8b3c6ea8db..0fdae9b274 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -205,10 +205,12 @@ function get_group_id($group_name)
/**
* Generate the email hash stored in the users table
+*
+* Note: Deprecated, calls should directly go to phpbb_email_hash()
*/
function gen_email_hash($email)
{
- return (crc32(strtolower($email)) . strlen($email));
+ return phpbb_email_hash($email);
}
/**