mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Use __construct for constructor
This commit is contained in:
@@ -7,14 +7,14 @@
|
|||||||
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
|
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
|
||||||
*/
|
*/
|
||||||
class AdminerLoginSqlite {
|
class AdminerLoginSqlite {
|
||||||
var $login;
|
/** @access protected */
|
||||||
var $password_hash;
|
var $login, $password_hash;
|
||||||
|
|
||||||
/**
|
/** Set allowed credentials
|
||||||
* @param string
|
* @param string
|
||||||
* @param string result of password_hash
|
* @param string result of password_hash
|
||||||
*/
|
*/
|
||||||
function AdminerLoginSqlite($login, $password_hash) {
|
function __construct($login, $password_hash) {
|
||||||
$this->login = $login;
|
$this->login = $login;
|
||||||
$this->password_hash = $password_hash;
|
$this->password_hash = $password_hash;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user