lib/global_session/directory.rb in global_session-2.0.2 vs lib/global_session/directory.rb in global_session-2.0.3
- old
+ new
@@ -186,22 +186,7 @@
# === Return
# true:: Always returns true
def report_invalid_session(uuid, expired_at)
@invalid_sessions << uuid
end
-
- # Callback used by GlobalSession::Rack::Middleware when the application invalidated
- # current global_session object. This callback could help application to get data related
- # to the previous global session (old_global_session_id), and put it to new global session
- # (new_global_sesion_id)
- #
- # @deprecated this method will be removed with GlobalSession 2.0; do not use!
- #
- # invalidated_uuid(String):: Invalidated Global session UUID
- # new_uuid(String):: Newly created Global session UUID
- # === Return
- # true: Always returns true
- def session_invalidated(invalidated_uuid, new_uuid)
- true
- end
end
-end
\ No newline at end of file
+end