Commit 923f16ab authored by mmn's avatar mmn

Properly definingStatusNet class static functions with 'static'

parent 761a849a
......@@ -222,27 +222,27 @@ class StatusNet
*
* @return bool
*/
public function haveConfig()
public static function haveConfig()
{
return self::$have_config;
}
public function isApi()
public static function isApi()
{
return self::$is_api;
}
public function setApi($mode)
public static function setApi($mode)
{
self::$is_api = $mode;
}
public function isAjax()
public static function isAjax()
{
return self::$is_ajax;
}
public function setAjax($mode)
public static function setAjax($mode)
{
self::$is_ajax = $mode;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment