source/Core/FileCache.php
public static function clearCache()
    {
        $tempDirectory = \OxidEsales\Eshop\Core\Registry::get(\OxidEsales\Eshop\Core\ConfigFile::class)->getVar("sCompileDir");
        $mask = $tempDirectory . "/" . self::CACHE_FILE_PREFIX . ".*.txt";
        $files = glob($mask);
        if (is_array($files)) {
            foreach ($files as $file) {
                if (is_file($file)) {
                    @unlink($file);
                }
            }
        }
    }
public static function clearCache()
    {
        $tempDirectory = \OxidEsales\Eshop\Core\Registry::get(\OxidEsales\Eshop\Core\ConfigFile::class)->getVar("sCompileDir");
        $mask = $tempDirectory . "/" . self::CACHE_FILE_PREFIX . ".*.txt";
        $files = glob($mask);
        if (is_array($files)) {
            foreach ($files as $file) {
                if (is_file($file)) {
                    @unlink($file);
                }
            }
        }
    }
public static function clearCache ( ) { $ tempDirectory = \ OxidEsales \ Eshop \ Core \ Registry :: get ( \ OxidEsales \ Eshop \ Core \ ConfigFile :: class ) -> getVar ( "sCompileDir" ) ; $ mask = $ tempDirectory . "/" . self :: CACHE_FILE_PREFIX . ".*.txt" ; $ files = glob ( $ mask ) ; if ( is_array ( $ files ) ) { foreach ( $ files as $ file ) { if ( is_file ( $ file ) ) { @ unlink ( $ file ) ; } } } }
Clears all cache by deleting cached files.
Clears all cache by deleting cached files .