Merge pull request #31 from dokufreaks/use-nocache
Use '$renderer->nocache()'
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user