From: Timo Tijhof Date: Thu, 25 Jul 2019 22:46:11 +0000 (+0100) Subject: resourceloader: Remove incomprehensible `@todo` in getTestModuleNames() X-Git-Tag: 1.34.0-rc.0~876^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=1dd7af5754847958eb5c782ca665fe93ca025c9a;p=lhc%2Fweb%2Fwiklou.git 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 --- 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] )