aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-11-19 21:15:21 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-11-19 21:15:21 +0100
commitc628cd7e151a09e25ca0d980620b5fa3fe36a763 (patch)
tree242e90b696746171f94d31bbf7c24afcf0550a92 /phpBB/includes/functions.php
parent83d430419e86404bb54a813f853051dd9c696eb3 (diff)
downloadforums-c628cd7e151a09e25ca0d980620b5fa3fe36a763.tar
forums-c628cd7e151a09e25ca0d980620b5fa3fe36a763.tar.gz
forums-c628cd7e151a09e25ca0d980620b5fa3fe36a763.tar.bz2
forums-c628cd7e151a09e25ca0d980620b5fa3fe36a763.tar.xz
forums-c628cd7e151a09e25ca0d980620b5fa3fe36a763.zip
[ticket/16167] Deprecate phpbb_email_hash() and remove gen_email_hash()
The latter one has been deprecated for 10 years now. PHPBB3-16167
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php12
1 files changed, 0 insertions, 12 deletions
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
@@ -264,18 +264,6 @@ function still_on_time($extra_time = 15)
}
/**
-* 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.
*