From: Matthew Flaschen Date: Thu, 22 Aug 2013 17:31:09 +0000 (-0400) Subject: Remove comment saying code should add RL dependencies directly X-Git-Tag: 1.31.0-rc.0~18910 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=5b212601dbd44544b38dea240f382d826a763413;p=lhc%2Fweb%2Fwiklou.git Remove comment saying code should add RL dependencies directly This does not reflect actual ResourceLoader best practices. Bug: 51853 Change-Id: I62e875c472ecc54b310ce5ed14fdcabda02e19e5 --- diff --git a/includes/resourceloader/ResourceLoaderModule.php b/includes/resourceloader/ResourceLoaderModule.php index f6a7114af4..9847ac088c 100644 --- a/includes/resourceloader/ResourceLoaderModule.php +++ b/includes/resourceloader/ResourceLoaderModule.php @@ -274,12 +274,7 @@ abstract class ResourceLoaderModule { * Get a list of modules this module depends on. * * Dependency information is taken into account when loading a module - * on the client side. When adding a module on the server side, - * dependency information is NOT taken into account and YOU are - * responsible for adding dependent modules as well. If you don't do - * this, the client side loader will send a second request back to the - * server to fetch the missing modules, which kind of defeats the - * purpose of the resource loader. + * on the client side. * * To add dependencies dynamically on the client side, use a custom * loader script, see getLoaderScript()