Correct ldap check in dependencies_chk app

This commit is contained in:
Brice Maron 2011-11-25 23:43:24 +01:00
parent 53ff85e2ad
commit 1d312cf070
1 changed files with 1 additions and 1 deletions

View File

@ -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'));