summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-04-19 09:38:23 +0200
committerPierre Schmitz <pierre@archlinux.de>2013-04-19 09:38:23 +0200
commitf7253921201bcf43d385440317ab279fb83a4658 (patch)
treefa275d35aaab4c8dbf3bb8b4c7815b774e80bc8e /extensions
parentaa8ec6e90b7852289d936ecef6c2fbb5fcd43b97 (diff)
FluxBBAuthPlugin: Fix call order
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';
+
?>