diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-09-14 13:28:12 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-09-14 13:28:12 +0200 |
commit | bda2edfb2799e73eaab83b775eda8afbe8bcb15d (patch) | |
tree | 1620a58fe6339e7751761aead6cfce08ea7787e9 | |
parent | ef75d95b33f5a1ec44bd7f7fd789c73227ed3665 (diff) |
FunnyQuestion: remove unneeded HTML-Code and methods.
-rw-r--r-- | extensions/FunnyQuestion.php | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/extensions/FunnyQuestion.php b/extensions/FunnyQuestion.php index 8f6b5c08..62f196d6 100644 --- a/extensions/FunnyQuestion.php +++ b/extensions/FunnyQuestion.php @@ -102,19 +102,6 @@ public static function checkFunnyQuestionOnEditPage($editpage, $text, $section, return true; } - -public static function addFunnyQuestionToUserLoginForm($template) { - $template->set('header', self::getFunnyQuestion()); - return true; -} - -public static function checkFunnyQuestionOnAbortLogin($user, $password, $retval) { - # LoginForm::ABBORT is not yet supported by MediaWiki - $retval = LoginForm::ILLEGAL; - return self::checkFunnyQuestion(); -} - - public static function addFunnyQuestionToUserCreateForm($template) { $template->set('header', self::getFunnyQuestion()); return true; @@ -122,7 +109,7 @@ public static function addFunnyQuestionToUserCreateForm($template) { public static function checkFunnyQuestionOnAbortNewAccount($user, $message) { if (!self::checkFunnyQuestion()) { - $message = '<div class="errorbox">Your answer was wrong!</div><br clear="all" />'; + $message = 'Your answer was wrong!'; return false; } else { return true; |