summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Vote.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/Vote.php b/Vote.php
index cbb1c62..09f86b0 100644
--- a/Vote.php
+++ b/Vote.php
@@ -239,17 +239,11 @@ class VoteHooks {
}
// We need a special page to receive the submitted votes.
-class SpecialInsertVote extends SpecialPage {
+class SpecialInsertVote extends UnlistedSpecialPage {
function __construct() {
parent::__construct( 'InsertVote' );
}
- function isListed() {
- // prevent this page from being listed on Special:SpecialPages
- // since it's not intended to be accessed directly
- return false;
- }
-
function execute( $par ) {
$request = $this->getRequest();
$output = $this->getOutput();