tidying up

This commit is contained in:
2019-09-23 14:12:52 +02:00
parent 0a9430490c
commit d07692af94
4 changed files with 3 additions and 38 deletions

View File

@@ -5,7 +5,7 @@ Class UserSession{
public $token = "undefined";
public $expires;
public static $session;
public function UserSession($uid, $token = "undefined"){
public function __construct($uid, $token = "undefined"){
$this->uid = $uid;
$this->token = $token;
$this->setExpiry();