[Pkg-owncloud-commits] [owncloud] 87/134: add PHP docs
David Prévot
taffit at moszumanska.debian.org
Fri Apr 18 21:44:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 5df99d3e61e5a830a080759945d01328e6757311
Author: Arthur Schiwon <blizzz at owncloud.com>
Date: Tue Apr 1 21:57:01 2014 +0200
add PHP docs
---
apps/user_ldap/lib/access.php | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index aaf3994..624cd6c 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list