Reverting 15375 - causes JavaScript error.
authorRotem Liss <rotem@users.mediawiki.org>
Thu, 6 Jul 2006 16:42:48 +0000 (16:42 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Thu, 6 Jul 2006 16:42:48 +0000 (16:42 +0000)
RELEASE-NOTES
includes/ProtectionForm.php

index c468774..91ae9b1 100644 (file)
@@ -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 ==
index 70eac03..2a40a37 100644 (file)
@@ -156,9 +156,7 @@ class ProtectionForm {
                        $out .= "</tbody>\n";
                        $out .= "</table>\n";
                        $out .= "</form>\n";
-                       if( count( $this->mRestrictions ) > 1 ) {
-                               $out .= $this->buildCleanupScript();
-                       }
+                       $out .= $this->buildCleanupScript();
                }
 
                return $out;