dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Default installations to using RemexHtml for tidying
[lhc/web/wiklou.git]
/
includes
/
content
/
ContentHandler.php
diff --git
a/includes/content/ContentHandler.php
b/includes/content/ContentHandler.php
index
eab3afb
..
3cfac8f
100644
(file)
--- a/
includes/content/ContentHandler.php
+++ b/
includes/content/ContentHandler.php
@@
-332,6
+332,13
@@
abstract class ContentHandler {
return self::$handlers[$modelId];
}
+ /**
+ * Clean up handlers cache.
+ */
+ public static function cleanupHandlersCache() {
+ self::$handlers = [];
+ }
+
/**
* Returns the localized name for a given content model.
*