r79271 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79270‎ | r79271 | r79272 >
Date:17:29, 30 December 2010
Author:reedy
Status:deferred
Tags:
Comment:
Fix syntax error ($user --> $wgUser)

Explicitally declared some class variables
Modified paths:
  • /trunk/extensions/FirefoggChunkedUpload/ApiFirefoggChunkedUpload.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FirefoggChunkedUpload/ApiFirefoggChunkedUpload.php
@@ -6,6 +6,8 @@
77 */
88
99 class ApiFirefoggChunkedUpload extends ApiUpload {
 10+ private $mUpload = null, $mParams = null;
 11+
1012 public function execute() {
1113 global $wgUser;
1214
@@ -102,7 +104,7 @@
103105 } else if ( $this->mUpload->getChunkMode() == FirefoggChunkedUploadHandler::CHUNK ) {
104106 $ret = $this->performUploadChunk();
105107 } else if ( $this->mUpload->getChunkMode() == FirefoggChunkedUploadHandler::DONE ) {
106 - $ret = $this->performUploadDone($user);
 108+ $ret = $this->performUploadDone($wgUser);
107109 }
108110
109111 return $ret;

Follow-up revisions

RevisionCommit summaryAuthorDate
r79282Merging from r79271 through r79281 of trunkawjrichards18:26, 30 December 2010

Status & tagging log