<?php /** * @package Cache Cleaner * @version 7.3.3 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2020 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ namespace RegularLabs\Plugin\System\CacheCleaner\Cache; defined('_JEXEC') or die; use RegularLabs\Plugin\System\CacheCleaner\Params; class Folders extends Cache { // Empty tmp folder public static function purge_tmp() { $min_age = 0; self::emptyFolder(JPATH_SITE . '/tmp', $min_age); } }