/** * Sets the flag that lets the metadata manager know NOT to clear the cache * again. Used in cases where the cache was nuked for some reason and the * metadata endpoint was hit, rebuilding certain caches which destroy the * metadata again. */ public static function setCacheHasBeenCleared() { self::$cacheHasBeenCleared = true; }