mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +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)
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user