lib/global_session/rack.rb in global_session-2.0.2 vs lib/global_session/rack.rb in global_session-2.0.3

- old
+ new

@@ -226,10 +226,9 @@ # === Parameters # env(Hash):: the rack environment # old_session(GlobalSession):: the now-invalidated session # new_session(GlobalSession):: the new session that will be sent to the client def perform_invalidation_callbacks(env, old_session, new_session) - @directory.session_invalidated(old_session.id, new_session.id) if (local_session = env[LOCAL_SESSION_KEY]) && local_session.respond_to?(:rename!) local_session.rename!(old_session, new_session) end true