summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-12-14 09:50:43 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-12-14 09:50:43 +0100
commitb193c3a5f6ad8ce64122c30f6f1944493def84e3 (patch)
tree3134255100586efe74cf7354771c0c335c15ab99
parent9c695761a303b7cf1b37905bda3395ed60adeb30 (diff)
PasswordHash: Fix PHP7 compatability0.9.9
Using the class name for the constructor is deprecated. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/third_party/PasswordHash.php2
1 files changed, 1 insertions, 1 deletions
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';