From: Rotem Liss Date: Thu, 6 Jul 2006 16:42:48 +0000 (+0000) Subject: Reverting 15375 - causes JavaScript error. X-Git-Tag: 1.31.0-rc.0~56383 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=7dd78c22e3e0a3da1c07ff985c93515b8ec6bfb9;p=lhc%2Fweb%2Fwiklou.git Reverting 15375 - causes JavaScript error. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c468774907..91ae9b13d7 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -647,7 +647,6 @@ Some default configuration options have changed: Cleans up read-only-mode warning on empty pages and neats up some code. * (bug 6565) Strict JavaScript writing * (bug 6570) Update to Indonesian localisation (id) #26 -* (bug 6571) Protect page: "Unlock move permissions" appears when "move" is not an option * Added Telugu translation (te) == Compatibility == diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 70eac031da..2a40a37680 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -156,9 +156,7 @@ class ProtectionForm { $out .= "\n"; $out .= "\n"; $out .= "\n"; - if( count( $this->mRestrictions ) > 1 ) { - $out .= $this->buildCleanupScript(); - } + $out .= $this->buildCleanupScript(); } return $out;