installStaticCode(); $typecache = JprestaUtils::getConfigurationAllShop('pagecache_typecache'); if ($typecache === 'std' || $typecache === 'stdzip' || $typecache === 'zip') { JprestaUtils::saveConfigurationAllShop('pagecache_typecache', 'static'); $module->uninstallCache($typecache); $module->installCache(); $module->clearCache(); } JprestaUtils::saveConfigurationAllShop('pagecache_static_expires', 15); if (Tools::version_compare(_PS_VERSION_, '1.7', '>')) { $module->upgradeOverride('Media'); } @unlink(_PS_MODULE_DIR_ . $module->name . '/views/js/pagecache.js'); return (bool)$ret; }