diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-12 16:28:21 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-25 16:04:58 +0200 |
commit | 7db6b487f5b2a49abaa1f233367f12ce4c99de89 (patch) | |
tree | ac055b4cf67e4c54bc1c273493d636e65f22471f /apps/user_ldap/appinfo | |
parent | 391531851cb73d7f6e7f989f481772f09f9f00a6 (diff) | |
download | nextcloud-server-7db6b487f5b2a49abaa1f233367f12ce4c99de89.tar.gz nextcloud-server-7db6b487f5b2a49abaa1f233367f12ce4c99de89.zip |
Move Helper to PSR-4
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r-- | apps/user_ldap/appinfo/app.php | 4 | ||||
-rw-r--r-- | apps/user_ldap/appinfo/register_command.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php index a6c766f2612..28b38594494 100644 --- a/apps/user_ldap/appinfo/app.php +++ b/apps/user_ldap/appinfo/app.php @@ -27,7 +27,7 @@ OCP\App::registerAdmin('user_ldap', 'settings'); -$helper = new \OCA\user_ldap\lib\Helper(); +$helper = new \OCA\User_LDAP\Helper(); $configPrefixes = $helper->getServerConfigurationPrefixes(true); $ldapWrapper = new OCA\User_LDAP\LDAP(); $ocConfig = \OC::$server->getConfig(); @@ -64,7 +64,7 @@ if(count($configPrefixes) > 0) { \OCP\Util::connectHook( '\OCA\Files_Sharing\API\Server2Server', 'preLoginNameUsedAsUserName', - '\OCA\user_ldap\lib\Helper', + '\OCA\User_LDAP\Helper', 'loginName2UserName' ); diff --git a/apps/user_ldap/appinfo/register_command.php b/apps/user_ldap/appinfo/register_command.php index daddad7dda4..6ed6325e197 100644 --- a/apps/user_ldap/appinfo/register_command.php +++ b/apps/user_ldap/appinfo/register_command.php @@ -21,7 +21,7 @@ * */ -use OCA\user_ldap\lib\Helper; +use OCA\User_LDAP\Helper; use OCA\User_LDAP\LDAP; use OCA\User_LDAP\User_Proxy; use OCA\User_LDAP\Mapping\UserMapping; |