Permalink
Browse files

call remove() for non null $mcache case

  • Loading branch information...
wkpark committed May 8, 2017
1 parent 692985f commit c470d3232014860f14b0598440685ea5a435c738
Showing with 1 addition and 0 deletions.
  1. +1 −0 wiki.php
View
@@ -6470,6 +6470,7 @@ function wiki_main($options) {
} else if (empty($formatter->_dynamic_macros) and !empty($formatter->pi['#dynamic'])) {
$pi_cache = new Cache_text('PI');
$pi_cache->remove($formatter->page->name); // reset PI
if ($mcache)
$mcache->remove($pagename); // remove macro cache
if (isset($out[0]))
$cache->update($pagename, $out); // update cache content

0 comments on commit c470d32

Please sign in to comment.