1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/passwords] Rename manager methods to check() and hash()

These method names are more straightforward than the previous ones.

PHPBB3-11610
This commit is contained in:
Marc Alexander
2013-10-02 13:30:36 +02:00
parent 356f3eef07
commit afb7d2e616
2 changed files with 13 additions and 13 deletions

View File

@@ -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)
{