diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2012-08-23 11:33:39 +0200 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2012-08-23 11:33:39 +0200 |
commit | 496e18cda1b159f7e70345a4ee6204d80d815145 (patch) | |
tree | 41a09e14415018e3885a55dd4b9f8f17bff62ab7 | |
parent | bfc6727791f611fe46f975c2baa6f696c635da4c (diff) | |
download | rpg-496e18cda1b159f7e70345a4ee6204d80d815145.tar.gz rpg-496e18cda1b159f7e70345a4ee6204d80d815145.tar.bz2 |
make AD utilitiy functions public
-rw-r--r-- | inc/auth/ad.class.php | 4 |
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; } |