From bb9e60d99961f4cc70d6c342012b59836e2ff4c0 Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Sat, 6 Aug 2005 14:58:43 +0000 Subject: [PATCH] now sysops only can change the topic list --- includes/SpecialValidate.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SpecialValidate.php b/includes/SpecialValidate.php index 08296ed485..f58bf5e4a1 100644 --- a/includes/SpecialValidate.php +++ b/includes/SpecialValidate.php @@ -821,13 +821,13 @@ function wfSpecialValidate( $page = '' ) { return; } -/* + # Can do? - if( ! $wgUser->isAllowed('change_validation') ) { + if( ! $wgUser->isSysop() ) {#isAllowed('change_validation') ) { $wgOut->sysopRequired(); return; } -*/ + $mode = $wgRequest->getVal( "mode" ); $skin = $wgUser->getSkin(); -- 2.20.1