From c421676041ed067f197fb1766a7d3ecb4219462b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 8 Jul 2016 16:37:15 +0200 Subject: [PATCH] do not use jdots class not always installed by Api\Framework\Ajax, which is always available --- admin/inc/class.admin_hooks.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/inc/class.admin_hooks.inc.php b/admin/inc/class.admin_hooks.inc.php index 02baad581a..4323d3a972 100644 --- a/admin/inc/class.admin_hooks.inc.php +++ b/admin/inc/class.admin_hooks.inc.php @@ -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; }