From b193c3a5f6ad8ce64122c30f6f1944493def84e3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 14 Dec 2015 09:50:43 +0100 Subject: PasswordHash: Fix PHP7 compatability Using the class name for the constructor is deprecated. Signed-off-by: Florian Pritz --- application/third_party/PasswordHash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/third_party/PasswordHash.php') diff --git a/application/third_party/PasswordHash.php b/application/third_party/PasswordHash.php index 84447b277..80380554d 100644 --- a/application/third_party/PasswordHash.php +++ b/application/third_party/PasswordHash.php @@ -30,7 +30,7 @@ class PasswordHash { var $portable_hashes; var $random_state; - function PasswordHash($iteration_count_log2, $portable_hashes) + function __construct($iteration_count_log2, $portable_hashes) { $this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; -- cgit v1.2.3-24-g4f1b