From c628cd7e151a09e25ca0d980620b5fa3fe36a763 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 19 Nov 2019 21:15:21 +0100 Subject: [ticket/16167] Deprecate phpbb_email_hash() and remove gen_email_hash() The latter one has been deprecated for 10 years now. PHPBB3-16167 --- phpBB/includes/functions.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'phpBB/includes/functions.php') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index d2d5b503a2..c1f77a817b 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -263,18 +263,6 @@ function still_on_time($extra_time = 15) return (ceil($current_time - $start_time) < $max_execution_time) ? true : false; } -/** -* Hashes an email address to a big integer -* -* @param string $email Email address -* -* @return string Unsigned Big Integer -*/ -function phpbb_email_hash($email) -{ - return sprintf('%u', crc32(strtolower($email))) . strlen($email); -} - /** * Wrapper for version_compare() that allows using uppercase A and B * for alpha and beta releases. -- cgit v1.2.1