From c2383bff2b05591488bfe9c569c0e4103283563e Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 25 Sep 2008 22:41:03 +0000 Subject: [PATCH] Forgot to commit a file in my TODO/FIXME crusade. --- includes/api/ApiMain.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index ceca85c642..a1e381557f 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -164,9 +164,9 @@ class ApiMain extends ApiBase { if($wgEnableWriteAPI) $this->mModules += self::$WriteModules; - $this->mModuleNames = array_keys($this->mModules); // todo: optimize + $this->mModuleNames = array_keys($this->mModules); $this->mFormats = self :: $Formats; - $this->mFormatNames = array_keys($this->mFormats); // todo: optimize + $this->mFormatNames = array_keys($this->mFormats); $this->mResult = new ApiResult($this); $this->mShowVersions = false; -- 2.20.1