Browse Source

Merge pull request #5207 from nextcloud/ldap-remove-userwebdavauth-check

remove check, user_webdavauth is not an app anymore for long
tags/v13.0.0beta1
blizzz 7 years ago
parent
commit
f3f3d077ae
2 changed files with 1 additions and 9 deletions
  1. 0
    6
      apps/user_ldap/appinfo/app.php
  2. 1
    3
      apps/user_ldap/templates/settings.php

+ 0
- 6
apps/user_ldap/appinfo/app.php View File

@@ -60,9 +60,3 @@ if(count($configPrefixes) > 0) {
'\OCA\User_LDAP\Helper',
'loginName2UserName'
);

if(OCP\App::isEnabled('user_webdavauth')) {
OCP\Util::writeLog('user_ldap',
'user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour',
OCP\Util::WARN);
}

+ 1
- 3
apps/user_ldap/templates/settings.php View File

@@ -66,9 +66,7 @@ style('user_ldap', 'settings');
<li class="ldapSettingsTabs"><a href="#ldapSettings-2"><?php p($l->t('Expert'));?></a></li>
<li class="ldapSettingsTabs"><a href="#ldapSettings-1"><?php p($l->t('Advanced'));?></a></li>
</ul>
<?php if(OCP\App::isEnabled('user_webdavauth')) {
print_unescaped('<p class="ldapwarning">'.$l->t('<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behavior. Please ask your system administrator to disable one of them.').'</p>');
}
<?php
if(!function_exists('ldap_connect')) {
print_unescaped('<p class="ldapwarning">'.$l->t('<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it.').'</p>');
}

Loading…
Cancel
Save