]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blobdiff - includes/api/ApiUnblock.php
MediaWiki 1.16.1
[autoinstalls/mediawiki.git] / includes / api / ApiUnblock.php
index 2ffae50475b9ed01e8f5349c74d107b501e3916c..1c4a4ade4211eba3d154a4ef9ed1daba1a32d152 100644 (file)
@@ -116,6 +116,10 @@ class ApiUnblock extends ApiBase {
         ) );
        }
        
+       public function needsToken() {
+               return true;
+       }
+
        public function getTokenSalt() {
                return '';
        }
@@ -128,6 +132,6 @@ class ApiUnblock extends ApiBase {
        }
 
        public function getVersion() {
-               return __CLASS__ . ': $Id: ApiUnblock.php 62599 2010-02-16 21:59:16Z reedy $';
+               return __CLASS__ . ': $Id: ApiUnblock.php 74217 2010-10-03 15:53:07Z reedy $';
        }
 }