From: Alan Knowles Date: Thu, 16 Aug 2018 00:37:54 +0000 (+0800) Subject: Asset.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=61a7dde845c6fc4754aa822b0b4721060cdb3151 Asset.php --- diff --git a/Asset.php b/Asset.php index d0331517..503a94e7 100644 --- a/Asset.php +++ b/Asset.php @@ -36,11 +36,8 @@ class Pman_Core_Asset extends Pman { function get($s='', $opts = Array()) { - if( - !empty($_REQUEST['_clear_cache']) && - !empty($_REQUEST['_clear_module']) - ) { - $this->clearCompiledFilesCache($_REQUEST['_clear_module']); + if(!empty($_REQUEST['_clear_cache'])) { + $this->clearCompiledFilesCache(); } @@ -167,7 +164,7 @@ class Pman_Core_Asset extends Pman { return false; } - function clearCompiledFilesCache($module) + function clearCompiledFilesCache() { require_once 'System.php'; $mods = $this->modulesList();