aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/passwords/manager.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-10-02 13:30:36 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-10-02 13:30:36 +0200
commitafb7d2e616db95add3c6ad9cc908df4218c6f3b7 (patch)
treed44613898b1fd72ce1ee7c77a2339e2553af3d30 /phpBB/phpbb/passwords/manager.php
parent356f3eef0760f85b947cbffbf87918544e0f6c9d (diff)
downloadforums-afb7d2e616db95add3c6ad9cc908df4218c6f3b7.tar
forums-afb7d2e616db95add3c6ad9cc908df4218c6f3b7.tar.gz
forums-afb7d2e616db95add3c6ad9cc908df4218c6f3b7.tar.bz2
forums-afb7d2e616db95add3c6ad9cc908df4218c6f3b7.tar.xz
forums-afb7d2e616db95add3c6ad9cc908df4218c6f3b7.zip
[feature/passwords] Rename manager methods to check() and hash()
These method names are more straightforward than the previous ones. PHPBB3-11610
Diffstat (limited to 'phpBB/phpbb/passwords/manager.php')
-rw-r--r--phpBB/phpbb/passwords/manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/passwords/manager.php b/phpBB/phpbb/passwords/manager.php
index b90775126c..6ec9eefaed 100644
--- a/phpBB/phpbb/passwords/manager.php
+++ b/phpBB/phpbb/passwords/manager.php
@@ -189,7 +189,7 @@ class manager
* @return string|bool Password hash of supplied password or false if
* if something went wrong during hashing
*/
- public function hash_password($password, $type = '')
+ public function hash($password, $type = '')
{
if (strlen($password) > 4096)
{
@@ -235,7 +235,7 @@ class manager
* @param string $hash Stored hash
* @return string|bool True if password is correct, false if not
*/
- public function check_hash($password, $hash)
+ public function check($password, $hash)
{
if (strlen($password) > 4096)
{