mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 09:49:05 +00:00
fixed static call to non static
This commit is contained in:
parent
5ab5b58649
commit
51678eb618
2 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ class WebUsers extends Users{
|
||||||
* check if the user is logged in.
|
* check if the user is logged in.
|
||||||
* @return true or false
|
* @return true or false
|
||||||
*/
|
*/
|
||||||
public function isLoggedIn(){
|
public static function isLoggedIn(){
|
||||||
if(isset($_SESSION['user'])){
|
if(isset($_SESSION['user'])){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -215,7 +215,7 @@ class WebUsers extends Users{
|
||||||
* check if the user is logged in.
|
* check if the user is logged in.
|
||||||
* @return true or false
|
* @return true or false
|
||||||
*/
|
*/
|
||||||
public function isLoggedIn(){
|
public static function isLoggedIn(){
|
||||||
if(isset($_SESSION['user'])){
|
if(isset($_SESSION['user'])){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue