Merge pull request #31 from dokufreaks/use-nocache

Use '$renderer->nocache()'
This commit is contained in:
Gerrit Uitslag
2020-09-22 21:44:43 +02:00
committed by GitHub

View File

@@ -122,7 +122,9 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin {
}
// disable caching
$renderer->info['cache'] = (bool) $params['cache'];
if ($params['cache'] === 0) {
$renderer->nocache();
}
if ($mode == 'xhtml' || $mode == 'odt') {
$result = $this->_create_filelist($pattern, $params);