diff options
-rw-r--r-- | Vote.php | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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(); |