From: Florent Bruneau Date: Mon, 1 Nov 2010 11:18:19 +0000 (+0100) Subject: Clear cache link in menu also clear PlCache. X-Git-Tag: core/1.1.2~33 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c426670b7737f934c347fbbe2749b71d1c227f02;hp=41c1469852548756cc8afdda9930930da09db865;p=platal.git Clear cache link in menu also clear PlCache. Signed-off-by: Florent Bruneau --- diff --git a/modules/core.php b/modules/core.php index f9b429d..7e3fd85 100644 --- a/modules/core.php +++ b/modules/core.php @@ -112,6 +112,7 @@ class CoreModule extends PLModule $page->clear_compiled_tpl(); PlWikiPage::clearCache(); + PlCache::clearAll(); http_redirect(empty($_SERVER['HTTP_REFERER']) ? './' : $_SERVER['HTTP_REFERER']); }