* Admin: fix PHP Fatal Class jdots_framework does not exist in minimal install

This commit is contained in:
Ralf Becker 2016-07-12 11:44:02 +02:00
parent 7455cae476
commit 087cff7f25

View File

@ -46,13 +46,13 @@ function vfs_image_dir($vfs_image_dir)
* Do NOT store the default to allow changing it if more apps become available * Do NOT store the default to allow changing it if more apps become available
* *
* @param type $app_list * @param type $app_list
* @param \EGroupware\Api\Config $c * @param Api\Config $c
*/ */
function fw_mobile_app_list($app_list, Api\Config $c) function fw_mobile_app_list($app_list, Api\Config $c)
{ {
// normalize lists // normalize lists
sort($app_list); sort($app_list);
$default_list = explode(',', jdots_framework::DEFAULT_MOBILE_APPS); $default_list = explode(',', Api\Framework\Ajax::DEFAULT_MOBILE_APPS);
sort($default_list); sort($default_list);
if ($app_list == $default_list) if ($app_list == $default_list)