From 51678eb61865c54d75f714315f7d3ed1efc365d0 Mon Sep 17 00:00:00 2001 From: Botanic Date: Wed, 23 Oct 2013 17:06:42 -0700 Subject: [PATCH] fixed static call to non static --- .../ryzom_ams/drupal_module/ryzommanage/autoload/webusers.php | 2 +- .../ryzom/tools/server/ryzom_ams/www/html/autoload/webusers.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/autoload/webusers.php b/code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/autoload/webusers.php index dadf4cc5e..d30d9714f 100644 --- a/code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/autoload/webusers.php +++ b/code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/autoload/webusers.php @@ -185,7 +185,7 @@ class WebUsers extends Users{ * check if the user is logged in. * @return true or false */ - public function isLoggedIn(){ + public static function isLoggedIn(){ if(isset($_SESSION['user'])){ return true; } diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/autoload/webusers.php b/code/ryzom/tools/server/ryzom_ams/www/html/autoload/webusers.php index cd6d38ed3..621bb0e06 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/autoload/webusers.php +++ b/code/ryzom/tools/server/ryzom_ams/www/html/autoload/webusers.php @@ -215,7 +215,7 @@ class WebUsers extends Users{ * check if the user is logged in. * @return true or false */ - public function isLoggedIn(){ + public static function isLoggedIn(){ if(isset($_SESSION['user'])){ return true; }