summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/user/deletedusersindex.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-10-15 08:27:24 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-10-15 08:29:35 +0200
commit24420e9eb1fdd4e15e1fc7eed1dd6d5b38f5cc0f (patch)
treea0a650ea1a21e74afcebac99c0e0e600f4104d74 /apps/user_ldap/lib/user/deletedusersindex.php
parent5bee7007dd72d0353d33a79950717b5bdf24900a (diff)
downloadnextcloud-server-24420e9eb1fdd4e15e1fc7eed1dd6d5b38f5cc0f.tar.gz
nextcloud-server-24420e9eb1fdd4e15e1fc7eed1dd6d5b38f5cc0f.zip
Fix doc blocks of LDAP classes
Diffstat (limited to 'apps/user_ldap/lib/user/deletedusersindex.php')
-rw-r--r--apps/user_ldap/lib/user/deletedusersindex.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/user_ldap/lib/user/deletedusersindex.php b/apps/user_ldap/lib/user/deletedusersindex.php
index acea80bb9d0..f8c1406d77e 100644
--- a/apps/user_ldap/lib/user/deletedusersindex.php
+++ b/apps/user_ldap/lib/user/deletedusersindex.php
@@ -22,7 +22,6 @@
namespace OCA\user_ldap\lib\user;
-use OCA\user_ldap\lib\user\OfflineUser;
use OCA\User_LDAP\Mapping\UserMapping;
/**
@@ -51,9 +50,9 @@ class DeletedUsersIndex {
protected $deletedUsers;
/**
- * @param OCP\IConfig $config
- * @param OCP\IDBConnection $db
- * @param OCA\User_LDAP\Mapping\UserMapping $mapping
+ * @param \OCP\IConfig $config
+ * @param \OCP\IDBConnection $db
+ * @param \OCA\User_LDAP\Mapping\UserMapping $mapping
*/
public function __construct(\OCP\IConfig $config, \OCP\IDBConnection $db, UserMapping $mapping) {
$this->config = $config;
@@ -63,7 +62,7 @@ class DeletedUsersIndex {
/**
* reads LDAP users marked as deleted from the database
- * @return OCA\user_ldap\lib\user\OfflineUser[]
+ * @return \OCA\user_ldap\lib\user\OfflineUser[]
*/
private function fetchDeletedUsers() {
$deletedUsers = $this->config->getUsersForUserValue(
@@ -80,7 +79,7 @@ class DeletedUsersIndex {
/**
* returns all LDAP users that are marked as deleted
- * @return OCA\user_ldap\lib\user\OfflineUser[]
+ * @return \OCA\user_ldap\lib\user\OfflineUser[]
*/
public function getUsers() {
if(is_array($this->deletedUsers)) {
@@ -105,7 +104,7 @@ class DeletedUsersIndex {
/**
* marks a user as deleted
- * @param string ocName
+ * @param string $ocName
*/
public function markUser($ocName) {
$this->config->setUserValue($ocName, 'user_ldap', 'isDeleted', '1');