Use '$renderer->nocache()'
This commit is contained in:
@@ -122,7 +122,9 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// disable caching
|
// disable caching
|
||||||
$renderer->info['cache'] = (bool) $params['cache'];
|
if ($params['cache'] === 0) {
|
||||||
|
$renderer->nocache();
|
||||||
|
}
|
||||||
if ($mode == 'xhtml' || $mode == 'odt') {
|
if ($mode == 'xhtml' || $mode == 'odt') {
|
||||||
|
|
||||||
$result = $this->_create_filelist($pattern, $params);
|
$result = $this->_create_filelist($pattern, $params);
|
||||||
|
|||||||
Reference in New Issue
Block a user