From 7dd78c22e3e0a3da1c07ff985c93515b8ec6bfb9 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Thu, 6 Jul 2006 16:42:48 +0000 Subject: [PATCH] Reverting 15375 - causes JavaScript error. --- RELEASE-NOTES | 1 - includes/ProtectionForm.php | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) 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; -- 2.20.1