/** * Courtesy method to allow callers to go through cleanup() calls many times; needed for eZP 5.x and proper * tracing of redirecting pages */ public static function reenable($reactivate = false) { self::$has_run = false; if ($reactivate) { self::$activated = true; } }