summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/User/User.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-10-30 22:42:24 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-10-30 22:44:50 +0100
commit0c5d9127e87549b84bf4edd7df34de2412d9ebfe (patch)
tree9e5a62f97a5f502bc1de77ecb1ad1e40a09354c3 /apps/user_ldap/lib/User/User.php
parent1293affc84db2e9e2ea127bb1dd44faaa85f9797 (diff)
downloadnextcloud-server-0c5d9127e87549b84bf4edd7df34de2412d9ebfe.tar.gz
nextcloud-server-0c5d9127e87549b84bf4edd7df34de2412d9ebfe.zip
remove app specific IUserTools and consolidate test
Just some house keeping. IUserTools with used in even older days for easier creation of Access instances… Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/User/User.php')
-rw-r--r--apps/user_ldap/lib/User/User.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php
index f4be19a7ad5..706424d3189 100644
--- a/apps/user_ldap/lib/User/User.php
+++ b/apps/user_ldap/lib/User/User.php
@@ -30,6 +30,7 @@
namespace OCA\User_LDAP\User;
+use OCA\User_LDAP\Access;
use OCA\User_LDAP\Connection;
use OCA\User_LDAP\FilesystemHelper;
use OCA\User_LDAP\LogWrapper;
@@ -48,7 +49,7 @@ use OCP\Notification\IManager as INotificationManager;
*/
class User {
/**
- * @var IUserTools
+ * @var Access
*/
protected $access;
/**
@@ -110,8 +111,7 @@ class User {
* @brief constructor, make sure the subclasses call this one!
* @param string $username the internal username
* @param string $dn the LDAP DN
- * @param IUserTools $access an instance that implements IUserTools for
- * LDAP interaction
+ * @param Access $access
* @param IConfig $config
* @param FilesystemHelper $fs
* @param Image $image any empty instance
@@ -120,7 +120,7 @@ class User {
* @param IUserManager $userManager
* @param INotificationManager $notificationManager
*/
- public function __construct($username, $dn, IUserTools $access,
+ public function __construct($username, $dn, Access $access,
IConfig $config, FilesystemHelper $fs, Image $image,
LogWrapper $log, IAvatarManager $avatarManager, IUserManager $userManager,
INotificationManager $notificationManager) {