summaryrefslogtreecommitdiff
path: root/plugins/phpbb31/phpbb31.module
diff options
context:
space:
mode:
authorChristoph Burschka2012-11-02 23:20:41 +0100
committerChristoph Burschka2012-11-02 23:20:41 +0100
commit637f18e558f43d308f07e327e3b8a83c36d60541 (patch)
tree05e3a7ae3a23002b0c119b792f2236655b6dea32 /plugins/phpbb31/phpbb31.module
parentRenaming phpbb versions properly. (diff)
downloadejabberd-auth-php-637f18e558f43d308f07e327e3b8a83c36d60541.tar.gz
Refactoring of plugin names complete.
Diffstat (limited to 'plugins/phpbb31/phpbb31.module')
-rw-r--r--plugins/phpbb31/phpbb31.module9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/phpbb31/phpbb31.module b/plugins/phpbb31/phpbb31.module
index 22b4de6..03aa2a2 100644
--- a/plugins/phpbb31/phpbb31.module
+++ b/plugins/phpbb31/phpbb31.module
@@ -1,10 +1,11 @@
<?php
-function phpbb4_init($config) {
+function phpbb31_init($config) {
+ global $phpbb_root_path;
$phpbb_root_path = $config['root_path'];
// Bootstrap the phpBB system.
- require_once __DIR__ . '/phpbb4_bootstrap.php';
+ require_once __DIR__ . '/phpbb31_bootstrap.php';
// Load the plugin.
- require_once __DIR__ . '/JabberAuthPhpBB4.php';
- return new JabberAuthPhpBB4($config['auth'], $config['db']);
+ require_once __DIR__ . '/BridgePhpBB31.php';
+ return new BridgePhpBB31($auth, $db);
}