diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-12 17:11:59 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-25 17:04:57 +0300 |
commit | e73d811425d35977d5c6c1fcf1be8ab3f512ad89 (patch) | |
tree | 3a2751e89d9d82d3eea9acff460084b0a0c35b5b | |
parent | d16a97a273feed9fe1f52df069b92a8278d649db (diff) |
Move Proxy to PSR-4
-rw-r--r-- | apps/user_ldap/lib/Group_Proxy.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/lib/Proxy.php (renamed from apps/user_ldap/lib/proxy.php) | 6 | ||||
-rw-r--r-- | apps/user_ldap/lib/User_Proxy.php | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/apps/user_ldap/lib/Group_Proxy.php b/apps/user_ldap/lib/Group_Proxy.php index 00225b54287..b038c487a07 100644 --- a/apps/user_ldap/lib/Group_Proxy.php +++ b/apps/user_ldap/lib/Group_Proxy.php @@ -26,7 +26,7 @@ namespace OCA\User_LDAP; use OCA\user_ldap\lib\ILDAPWrapper; -class Group_Proxy extends lib\Proxy implements \OCP\GroupInterface { +class Group_Proxy extends Proxy implements \OCP\GroupInterface { private $backends = array(); private $refBackend = null; diff --git a/apps/user_ldap/lib/proxy.php b/apps/user_ldap/lib/Proxy.php index 7002aaadaa5..dd7cd97b6f9 100644 --- a/apps/user_ldap/lib/proxy.php +++ b/apps/user_ldap/lib/Proxy.php @@ -26,9 +26,13 @@ * */ -namespace OCA\user_ldap\lib; +namespace OCA\User_LDAP; use OCA\user_ldap\lib\Access; +use OCA\user_ldap\lib\Connection; +use OCA\user_ldap\lib\FilesystemHelper; +use OCA\user_ldap\lib\ILDAPWrapper; +use OCA\user_ldap\lib\LogWrapper; use OCA\User_LDAP\Mapping\UserMapping; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php index aba8398fa20..c4337d80d0b 100644 --- a/apps/user_ldap/lib/User_Proxy.php +++ b/apps/user_ldap/lib/User_Proxy.php @@ -28,10 +28,9 @@ namespace OCA\User_LDAP; use OCA\user_ldap\lib\ILDAPWrapper; use OCA\User_LDAP\User\User; -use \OCA\user_ldap\User_LDAP; use OCP\IConfig; -class User_Proxy extends lib\Proxy implements \OCP\IUserBackend, \OCP\UserInterface { +class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface { private $backends = array(); private $refBackend = null; |