mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
make static functions static as they should be
This commit is contained in:
parent
cebdc5c7ab
commit
0cd226b91d
@ -24,7 +24,7 @@ class UserAgent
|
||||
*
|
||||
* @return string 'firefox', 'msie', 'safari' (incl. iPhone), 'chrome', 'opera', 'konqueror', 'mozilla'
|
||||
*/
|
||||
public function type()
|
||||
public static function type()
|
||||
{
|
||||
return self::$user_agent;
|
||||
}
|
||||
@ -34,7 +34,7 @@ class UserAgent
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function version()
|
||||
public static function version()
|
||||
{
|
||||
return self::$ua_version;
|
||||
}
|
||||
@ -44,7 +44,7 @@ class UserAgent
|
||||
*
|
||||
* @return string "iphone", "ipod", "ipad", "android", "symbianos", "blackberry", "kindle", "opera mobi", "windows phone"
|
||||
*/
|
||||
public function mobile()
|
||||
public static function mobile()
|
||||
{
|
||||
return self::$ua_mobile;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user