From: Jakub Vrana Date: Tue, 16 Jan 2018 19:05:07 +0000 (+0100) Subject: Use __construct for constructor X-Git-Tag: v4.4.0~2 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=16e05167a4b2df28a240aadbca3248c36f54b1aa;p=adminer.git Use __construct for constructor --- diff --git a/plugins/login-sqlite.php b/plugins/login-sqlite.php index d3adae5c..1bb31dd7 100644 --- a/plugins/login-sqlite.php +++ b/plugins/login-sqlite.php @@ -7,14 +7,14 @@ * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other) */ class AdminerLoginSqlite { - var $login; - var $password_hash; + /** @access protected */ + var $login, $password_hash; - /** + /** Set allowed credentials * @param string * @param string result of password_hash */ - function AdminerLoginSqlite($login, $password_hash) { + function __construct($login, $password_hash) { $this->login = $login; $this->password_hash = $password_hash; }