public static function ResetCache($sEnvironmentId = null) { if (!function_exists('apc_delete')) { return; } if (is_null($sEnvironmentId)) { $sEnvironmentId = MetaModel::GetEnvironmentId(); } $sAppIdentity = 'itop-' . $sEnvironmentId; Dict::ResetCache($sAppIdentity); foreach (self::GetCacheEntries($sEnvironmentId) as $sKey => $aAPCInfo) { $sAPCKey = $aAPCInfo['info']; apc_delete($sAPCKey); } }