From 1dd7af5754847958eb5c782ca665fe93ca025c9a Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 25 Jul 2019 23:46:11 +0100 Subject: [PATCH] resourceloader: Remove incomprehensible `@todo` in getTestModuleNames() I added this 7.5 years ago with r111378 (5bf04171dc3), but I can't recall what this would have been for. Perhaps we wanted to expose the list of modules (or test frameworks) via ApiQuerySiteInfo, but I don't know why, or what purpose it would serve. Change-Id: I4005979252533a752178e6f1ac9900f32132c27e --- includes/resourceloader/ResourceLoader.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/resourceloader/ResourceLoader.php b/includes/resourceloader/ResourceLoader.php index 671fe86c7c..7e623b53a7 100644 --- a/includes/resourceloader/ResourceLoader.php +++ b/includes/resourceloader/ResourceLoader.php @@ -480,7 +480,6 @@ class ResourceLoader implements LoggerAwareInterface { * @return array */ public function getTestModuleNames( $framework = 'all' ) { - /** @todo api siteinfo prop testmodulenames modulenames */ if ( $framework == 'all' ) { return $this->testModuleNames; } elseif ( isset( $this->testModuleNames[$framework] ) -- 2.20.1