aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2014-03-06 07:00:30 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2014-03-06 07:00:30 -0600
commitc40b15ae198452b47a09f9d1dec4d85ad2de75c8 (patch)
tree218313f2983db5d4bbfe206f271c31cb103e3aef /phpBB/includes/functions.php
parent4b6f3f8b0fc3fc3b0d7fa0147930d0ea02107a8f (diff)
parent6251ca145978eddc017851c23b2558404692691b (diff)
downloadforums-c40b15ae198452b47a09f9d1dec4d85ad2de75c8.tar
forums-c40b15ae198452b47a09f9d1dec4d85ad2de75c8.tar.gz
forums-c40b15ae198452b47a09f9d1dec4d85ad2de75c8.tar.bz2
forums-c40b15ae198452b47a09f9d1dec4d85ad2de75c8.tar.xz
forums-c40b15ae198452b47a09f9d1dec4d85ad2de75c8.zip
Merge pull request #2087 from marc1706/ticket/12239
[ticket/12239] Move deprecated passwords functions to compatibility file
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 689a682de3..aca1443cce 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -368,41 +368,6 @@ function still_on_time($extra_time = 15)
}
/**
-* Hash the password
-*
-* @deprecated 3.1.0-a2 (To be removed: 3.3.0)
-*
-* @param string $password Password to be hashed
-*
-* @return string|bool Password hash or false if something went wrong during hashing
-*/
-function phpbb_hash($password)
-{
- global $phpbb_container;
-
- $passwords_manager = $phpbb_container->get('passwords.manager');
- return $passwords_manager->hash($password);
-}
-
-/**
-* Check for correct password
-*
-* @deprecated 3.1.0-a2 (To be removed: 3.3.0)
-*
-* @param string $password The password in plain text
-* @param string $hash The stored password hash
-*
-* @return bool Returns true if the password is correct, false if not.
-*/
-function phpbb_check_hash($password, $hash)
-{
- global $phpbb_container;
-
- $passwords_manager = $phpbb_container->get('passwords.manager');
- return $passwords_manager->check($password, $hash);
-}
-
-/**
* Hashes an email address to a big integer
*
* @param string $email Email address