resourceloader: Remove unused logic for WikiModule::getDB() as null
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 17 Apr 2019 15:23:43 +0000 (16:23 +0100)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 17 Apr 2019 19:27:27 +0000 (19:27 +0000)
commit472d3f4cb40edf4a7e743315aa2e59fa121f6016
treed805c285167784a674eb0216e932b60c0adf2f58
parenta259a2ed0d3059852bfcc5bb12f7a95da01d333f
resourceloader: Remove unused logic for WikiModule::getDB() as null

This was intended at some point for GlobalCssJs but ended up
being implemented differently once we realised that not having
any information about the remote wiki was unacceptable.

The local placeholder that points to metawiki (in case of GlobalCssJs)
must still at the very least be able to query version information
so that it gets a new version hash after changes etc. to ensure
cache rolls over.

This is being removed in preparation for refactoring where
compatibility with this broken model is no longer kept.

Change-Id: I4f1a06ace881daf1a5f202bdba0075460804de57
includes/resourceloader/ResourceLoaderWikiModule.php