/** * Clear a cache item associated with the master filepath * @static * @param String $pluginId * @param String $filepath * @return void */ public static function clearItem($pluginId, $filepath) { $inst = new AJXP_Cache($pluginId, $filepath, false); if (file_exists($inst->getId())) { @unlink($inst->getId()); } }
/** * Clear a cache item associated with the master filepath * @static * @param String $pluginId * @param String $filepath * @return void */ public static function clearItem($pluginId, $filepath) { $inst = new AJXP_Cache($pluginId, $filepath, false); AJXP_Logger::debug("SHOULD REMOVE " . $inst->getId()); if (file_exists($inst->getId())) { @unlink($inst->getId()); } }