From afb7d2e616db95add3c6ad9cc908df4218c6f3b7 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 2 Oct 2013 13:30:36 +0200 Subject: [feature/passwords] Rename manager methods to check() and hash() These method names are more straightforward than the previous ones. PHPBB3-11610 --- phpBB/phpbb/passwords/manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/phpbb/passwords/manager.php') 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) { -- cgit v1.2.1