summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorChristoph Burschka2014-01-16 19:30:08 +0100
committerChristoph Burschka2014-01-16 19:30:08 +0100
commit871f463262f40040ceb4a6c56eb44589a1cda15d (patch)
tree73541d2540c27f922fcfefb1f2e5055e43b97895 /plugins
parentUse STDERR in main.php (diff)
downloadejabberd-auth-php-871f463262f40040ceb4a6c56eb44589a1cda15d.tar.gz
Finally remove unused setpass/register hooks.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/drupal7/BridgeDrupal7.php12
-rw-r--r--plugins/drupal8/BridgeDrupal8.php12
-rw-r--r--plugins/phpbb30/BridgePhpBB30.php14
-rw-r--r--plugins/phpbb31/BridgePhpBB31.php14
-rw-r--r--plugins/smf2/BridgeSMF2.php12
5 files changed, 0 insertions, 64 deletions
diff --git a/plugins/drupal7/BridgeDrupal7.php b/plugins/drupal7/BridgeDrupal7.php
index 3f7ef67..85f21a6 100644
--- a/plugins/drupal7/BridgeDrupal7.php
+++ b/plugins/drupal7/BridgeDrupal7.php
@@ -8,16 +8,4 @@ class BridgeDrupal7 extends EjabberdAuthBridge {
function auth($username, $server, $password) {
return user_authenticate($username, $password) !== FALSE;
}
-
- function setpass($username, $server, $password) {
- return FALSE;
- }
-
- function tryregister($username, $server, $password) {
- return FALSE;
- }
-
- function removeuser($username, $server) {
- return FALSE;
- }
}
diff --git a/plugins/drupal8/BridgeDrupal8.php b/plugins/drupal8/BridgeDrupal8.php
index 0be6879..eadbdaa 100644
--- a/plugins/drupal8/BridgeDrupal8.php
+++ b/plugins/drupal8/BridgeDrupal8.php
@@ -8,16 +8,4 @@ class BridgeDrupal8 extends EjabberdAuthBridge {
function auth($username, $server, $password) {
return user_authenticate($username, $password) !== FALSE;
}
-
- function setpass($username, $server, $password) {
- return FALSE;
- }
-
- function tryregister($username, $server, $password) {
- return FALSE;
- }
-
- function removeuser($username, $server) {
- return FALSE;
- }
}
diff --git a/plugins/phpbb30/BridgePhpBB30.php b/plugins/phpbb30/BridgePhpBB30.php
index fd48e31..45ea642 100644
--- a/plugins/phpbb30/BridgePhpBB30.php
+++ b/plugins/phpbb30/BridgePhpBB30.php
@@ -19,18 +19,4 @@ class BridgePhpBB30 extends EjabberdAuthBridge {
$result = $this->auth->login($username, $password);
return $result['status'] == LOGIN_SUCCESS;
}
-
- // The following functions are disabled. This script will not change the phpBB user database.
-
- function setpass($username, $server, $password) {
- return FALSE;
- }
-
- function tryregister($username, $server, $password) {
- return FALSE;
- }
-
- function removeuser($username, $server) {
- return FALSE;
- }
}
diff --git a/plugins/phpbb31/BridgePhpBB31.php b/plugins/phpbb31/BridgePhpBB31.php
index b6028f5..3cfb89c 100644
--- a/plugins/phpbb31/BridgePhpBB31.php
+++ b/plugins/phpbb31/BridgePhpBB31.php
@@ -19,18 +19,4 @@ class BridgePhpBB31 extends EjabberdAuthBridge {
$result = $this->auth->login($username, $password);
return $result['status'] == LOGIN_SUCCESS;
}
-
- // The following functions are disabled. This script will not change the phpBB user database.
-
- function setpass($username, $server, $password) {
- return FALSE;
- }
-
- function tryregister($username, $server, $password) {
- return FALSE;
- }
-
- function removeuser($username, $server) {
- return FALSE;
- }
}
diff --git a/plugins/smf2/BridgeSMF2.php b/plugins/smf2/BridgeSMF2.php
index 30aa436..a8b474e 100644
--- a/plugins/smf2/BridgeSMF2.php
+++ b/plugins/smf2/BridgeSMF2.php
@@ -16,16 +16,4 @@ class BridgeSMF2 extends EjabberdAuthBridge {
function auth($username, $server, $password) {
return smf_ssi('checkPassword', $username, $password, TRUE);
}
-
- function setpass($username, $server, $password) {
- return FALSE;
- }
-
- function tryregister($username, $server, $password) {
- return FALSE;
- }
-
- function removeuser($username, $server) {
- return FALSE;
- }
}