@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | $helper = new \OCA\User_LDAP\Helper(\OC::$server->getConfig()); |
| 31 | 31 | $configPrefixes = $helper->getServerConfigurationPrefixes(true); |
| 32 | -if(count($configPrefixes) > 0) { |
|
| 32 | +if (count($configPrefixes) > 0) { |
|
| 33 | 33 | $ldapWrapper = new OCA\User_LDAP\LDAP(); |
| 34 | 34 | $ocConfig = \OC::$server->getConfig(); |
| 35 | 35 | $notificationManager = \OC::$server->getNotificationManager(); |
@@ -45,10 +45,10 @@ discard block |
||
| 45 | 45 | ]; |
| 46 | 46 | }); |
| 47 | 47 | |
| 48 | - $userBackend = new OCA\User_LDAP\User_Proxy( |
|
| 48 | + $userBackend = new OCA\User_LDAP\User_Proxy( |
|
| 49 | 49 | $configPrefixes, $ldapWrapper, $ocConfig, $notificationManager |
| 50 | 50 | ); |
| 51 | - $groupBackend = new OCA\User_LDAP\Group_Proxy($configPrefixes, $ldapWrapper); |
|
| 51 | + $groupBackend = new OCA\User_LDAP\Group_Proxy($configPrefixes, $ldapWrapper); |
|
| 52 | 52 | // register user backend |
| 53 | 53 | OC_User::useBackend($userBackend); |
| 54 | 54 | \OC::$server->getGroupManager()->addBackend($groupBackend); |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | 'loginName2UserName' |
| 62 | 62 | ); |
| 63 | 63 | |
| 64 | -if(OCP\App::isEnabled('user_webdavauth')) { |
|
| 64 | +if (OCP\App::isEnabled('user_webdavauth')) { |
|
| 65 | 65 | OCP\Util::writeLog('user_ldap', |
| 66 | 66 | 'user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour', |
| 67 | 67 | OCP\Util::WARN); |