Commit b193c3a5 authored by Florian Pritz's avatar Florian Pritz
Browse files

PasswordHash: Fix PHP7 compatability

Using the class name for the constructor is deprecated.
Signed-off-by: default avatarFlorian Pritz <>
parent 9c695761
......@@ -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';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment