diff --git a/apps/admin_dependencies_chk/settings.php b/apps/admin_dependencies_chk/settings.php
index de2f97aa79dcd6a6b8fedee3ddc01c9be0d77cf4..34028056dbea1457c164b8de30c6da17d2617aad 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'));