summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2012-08-23 11:33:39 +0200
committerAndreas Gohr <gohr@cosmocode.de>2012-08-23 11:33:39 +0200
commit496e18cda1b159f7e70345a4ee6204d80d815145 (patch)
tree41a09e14415018e3885a55dd4b9f8f17bff62ab7
parentbfc6727791f611fe46f975c2baa6f696c635da4c (diff)
downloadrpg-496e18cda1b159f7e70345a4ee6204d80d815145.tar.gz
rpg-496e18cda1b159f7e70345a4ee6204d80d815145.tar.bz2
make AD utilitiy functions public
-rw-r--r--inc/auth/ad.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/auth/ad.class.php b/inc/auth/ad.class.php
index 76b8924aa..7919c71ac 100644
--- a/inc/auth/ad.class.php
+++ b/inc/auth/ad.class.php
@@ -427,7 +427,7 @@ class auth_ad extends auth_basic {
* @param $user
* @return string
*/
- protected function _userDomain($user) {
+ public function _userDomain($user) {
list(, $domain) = explode('@', $user, 2);
return $domain;
}
@@ -438,7 +438,7 @@ class auth_ad extends auth_basic {
* @param $user
* @return string
*/
- protected function _userName($user) {
+ public function _userName($user) {
list($name) = explode('@', $user, 2);
return $name;
}