/** * Calls the delete_files function, then displays a message. * * @param string $folder - path to the cache folder * @param string $msg - show "cleared" message or not */ public function clearCache($folder = '', $msg = true) { require_once LIBS . 'Maintenance.php'; $maintenance = new Maintenance(); $maintenance->clearCache($this, $folder, $msg); }