fixed static call to non static

--HG--
branch : rc-botanic-webdev
hg/feature/sse2
Botanic 11 years ago
parent 95c5b9e1a8
commit 3dbb08f1d1

@ -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…
Cancel
Save