diff options
author | Christoph Burschka | 2014-01-16 19:30:08 +0100 |
---|---|---|
committer | Christoph Burschka | 2014-01-16 19:30:08 +0100 |
commit | 871f463262f40040ceb4a6c56eb44589a1cda15d (patch) | |
tree | 73541d2540c27f922fcfefb1f2e5055e43b97895 /core | |
parent | Use STDERR in main.php (diff) | |
download | ejabberd-auth-php-871f463262f40040ceb4a6c56eb44589a1cda15d.tar.gz |
Finally remove unused setpass/register hooks.
Diffstat (limited to 'core')
-rw-r--r-- | core/EjabberdAuth.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/EjabberdAuth.php b/core/EjabberdAuth.php index f3a5bfc..9160ec5 100644 --- a/core/EjabberdAuth.php +++ b/core/EjabberdAuth.php @@ -74,17 +74,10 @@ class EjabberdAuth { list($username, $server, $password) = $args; return $this->bridge->auth($username, $server, $password); case 'setpass': - list($username, $server, $password) = $args; - return $this->bridge->setpass($username, $server, $password); case 'tryregister': - list($username, $server, $password) = $args; - return $this->bridge->tryregister($username, $server, $password); case 'removeuser': - list($username, $server) = $args; - return $this->bridge->removeuser($username, $server); case 'removeuser3': - list($username, $server, $password) = $args; - return $this->bridge->auth($username, $server, $password) && $this->bridge->removeuser($username, $password); + return FALSE; default: $this->stop(); } |