diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-01 21:57:01 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-01 21:57:01 +0200 |
commit | 5df99d3e61e5a830a080759945d01328e6757311 (patch) | |
tree | 92d3d2cd65eb7a0843846de6ec015f8ab5c65f48 /apps | |
parent | 7dd34b12126483a24ef6370b23ec9e87cc988c8c (diff) | |
download | nextcloud-server-5df99d3e61e5a830a080759945d01328e6757311.tar.gz nextcloud-server-5df99d3e61e5a830a080759945d01328e6757311.zip |
add PHP docs
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/access.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index aaf3994cfe8..624cd6cbe06 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -105,6 +105,12 @@ class Access extends LDAPUtility { return false; } + /** + * @brief fetches the quota from LDAP and stores it as ownCloud user value + * @param string the DN of the user + * @param string optional, the internal ownCloud name of the user + * @return null + */ public function updateQuota($dn, $ocname = null) { $quota = null; $quotaDefault = $this->connection->ldapQuotaDefault; @@ -128,6 +134,12 @@ class Access extends LDAPUtility { } } + /** + * @brief fetches the email from LDAP and stores it as ownCloud user value + * @param string the DN of the user + * @param string optional, the internal ownCloud name of the user + * @return null + */ public function updateEmail($dn, $ocname = null) { $email = null; $emailAttribute = $this->connection->ldapEmailAttribute; @@ -145,7 +157,6 @@ class Access extends LDAPUtility { } } - /** * @brief checks wether the given attribute`s valua is probably a DN * @param $attr the attribute in question |