/** * Cleanup user related session values, for use by login / logout code * * @internal */ static function cleanup() { $http = eZHTTPTool::instance(); $http->removeSessionVariable('CanInstantiateClassList'); $http->removeSessionVariable('ClassesCachedForUser'); // Note: This must be done more generic with an internal // callback system. eZPreferences::sessionCleanup(); }