r53733 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53732‎ | r53733 | r53734 >
Date:00:07, 25 July 2009
Author:demon
Status:ok
Tags:
Comment:
(bug 19914) ApiUpload needs to use write mode.
Modified paths:
  • /trunk/phase3/includes/api/ApiUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiUpload.php
@@ -284,6 +284,10 @@
285285 return true;
286286 }
287287
 288+ public function isWriteMode() {
 289+ return true;
 290+ }
 291+
288292 public function getAllowedParams() {
289293 return array(
290294 'filename' => null,

Status & tagging log