Rem erroneous bracket, followup to r62404
authorSam Reed <reedy@users.mediawiki.org>
Sat, 13 Feb 2010 00:49:53 +0000 (00:49 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 13 Feb 2010 00:49:53 +0000 (00:49 +0000)
includes/api/ApiProtect.php

index 34283f2..fc98d09 100644 (file)
@@ -182,7 +182,7 @@ class ApiProtect extends ApiBase {
                        array( 'toofewexpiries', 'noofexpiries', 'noofprotections' ) ),
                        array( 'create-titleexists' ),
                        array( 'missingtitle-createonly' ),
-                       array( 'protect-invalidaction', 'action'] ),
+                       array( 'protect-invalidaction', 'action' ),
                        array( 'protect-invalidlevel', 'level' ),
                        array( 'invalidexpiry', 'expiry' ),
                        array( 'pastexpiry', 'expiry' ),