From: Brice Maron Date: Fri, 25 Nov 2011 22:43:24 +0000 (+0100) Subject: Correct ldap check in dependencies_chk app X-Git-Tag: v3.0~85^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d312cf070d809ab1b09b978dfa9d918ffe2c253;p=nextcloud-server.git Correct ldap check in dependencies_chk app --- diff --git a/apps/admin_dependencies_chk/settings.php b/apps/admin_dependencies_chk/settings.php index de2f97aa79d..34028056dbe 100644 --- a/apps/admin_dependencies_chk/settings.php +++ b/apps/admin_dependencies_chk/settings.php @@ -51,7 +51,7 @@ $modules[] =array( 'message'=> $l->t('The program mp3info is useful to discover ID3 tags of your music files')); $modules[] =array( - 'status' => OC_Helper::canExecute("ldap_bind") ? 'ok' : 'error', + 'status' => function_exists("ldap_bind") ? 'ok' : 'error', 'part'=> 'php-ldap', 'modules'=> array('user_ldap'), 'message'=> $l->t('The php-ldap module is needed connect to your ldap server'));