summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/FluxBBAuthPlugin.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/FluxBBAuthPlugin.php b/extensions/FluxBBAuthPlugin.php
index ce9d19d6..b919f31d 100644
--- a/extensions/FluxBBAuthPlugin.php
+++ b/extensions/FluxBBAuthPlugin.php
@@ -1,10 +1,5 @@
<?php
-$wgAuth = new FluxBBAuthPlugin();
-
-$wgHiddenPrefs[] = 'realname';
-$wgHooks['isValidPassword'][] = 'FluxBBAuthPlugin::isValidPassword';
-
$wgExtensionCredits['other'][] = array(
'name' => 'FluxBBAuthPlugin',
'version' => '1.5',
@@ -148,4 +143,8 @@ class FluxBBAuthPlugin extends AuthPlugin {
}
+$wgAuth = new FluxBBAuthPlugin();
+$wgHiddenPrefs[] = 'realname';
+$wgHooks['isValidPassword'][] = 'FluxBBAuthPlugin::isValidPassword';
+
?>