r41271 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41270‎ | r41271 | r41272 >
Date:22:41, 25 September 2008
Author:catrope
Status:old
Tags:
Comment:
Forgot to commit a file in my TODO/FIXME crusade.
Modified paths:
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMain.php
@@ -164,9 +164,9 @@
165165 if($wgEnableWriteAPI)
166166 $this->mModules += self::$WriteModules;
167167
168 - $this->mModuleNames = array_keys($this->mModules); // todo: optimize
 168+ $this->mModuleNames = array_keys($this->mModules);
169169 $this->mFormats = self :: $Formats;
170 - $this->mFormatNames = array_keys($this->mFormats); // todo: optimize
 170+ $this->mFormatNames = array_keys($this->mFormats);
171171
172172 $this->mResult = new ApiResult($this);
173173 $this->mShowVersions = false;