dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9318f2
)
resourceloader: Mark clearCache() as private (only for tests)
author
Timo Tijhof
<krinklemail@gmail.com>
Sat, 22 Sep 2018 16:45:18 +0000
(17:45 +0100)
committer
Timo Tijhof
<krinklemail@gmail.com>
Sat, 22 Sep 2018 16:45:18 +0000
(17:45 +0100)
Exclude from coverage report as well.
Change-Id: I5281b42dab802d5a5a58ee33a3b12a77229503c8
includes/resourceloader/ResourceLoader.php
patch
|
blob
|
history
diff --git
a/includes/resourceloader/ResourceLoader.php
b/includes/resourceloader/ResourceLoader.php
index
604a140
..
052c5b3
100644
(file)
--- a/
includes/resourceloader/ResourceLoader.php
+++ b/
includes/resourceloader/ResourceLoader.php
@@
-1583,6
+1583,9
@@
MESSAGE;
* Global state and $wgRequest are evil, but we're using it right
* now and sometimes we need to be able to force ResourceLoader to
* re-evaluate the context because it has changed (e.g. in the test suite).
+ *
+ * @internal For use by unit tests
+ * @codeCoverageIgnore
*/
public static function clearCache() {
self::$debugMode = null;