mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
do not use jdots class not always installed by Api\Framework\Ajax, which is always available
This commit is contained in:
parent
e8f0fbc736
commit
c421676041
@ -262,9 +262,9 @@ class admin_hooks
|
||||
public static function config(array $config)
|
||||
{
|
||||
$ret = array();
|
||||
if (empty($config['fw_mobile_app_list']) && class_exists('jdots_framework'))
|
||||
if (empty($config['fw_mobile_app_list']))
|
||||
{
|
||||
$ret['fw_mobile_app_list'] = jdots_framework::DEFAULT_MOBILE_APPS;
|
||||
$ret['fw_mobile_app_list'] = Api\Framework\Ajax::DEFAULT_MOBILE_APPS;
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user