From: Alex Z Date: Sun, 14 Sep 2008 01:11:54 +0000 (+0000) Subject: Allow cascading protection to be turned off without changing other settings X-Git-Tag: 1.31.0-rc.0~45318 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=3a4183931c05147e617b3a2efa691e7f08fa5f30;p=lhc%2Fweb%2Fwiklou.git Allow cascading protection to be turned off without changing other settings --- diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index c30adad7ad..e78fa3deed 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -211,7 +211,7 @@ class ProtectionForm { global $wgGroupPermissions; $edit_restriction = $this->mRestrictions['edit']; - + $this->mCascade = $wgRequest->getBool( 'mwProtect-cascade' ); if ($this->mCascade && ($edit_restriction != 'protect') && !(isset($wgGroupPermissions[$edit_restriction]['protect']) && $wgGroupPermissions[$edit_restriction]['protect'] ) ) $this->mCascade = false;