1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-12-28 03:36:55 +01:00

Changed the "session_read" hook name to "session_load"

This commit is contained in:
Roland Haroutiounian 2016-07-07 16:39:17 +02:00
commit fbdb9f09f8

View file

@ -68,7 +68,7 @@ def is_session_file_expired(sid):
## @brief reads a session content ## @brief reads a session content
# @param caller * # @param caller *
# @param sid str : session id # @param sid str : session id
@LodelHook('session_read') @LodelHook('session_load')
def read_session(caller, sid): def read_session(caller, sid):
session_file = get_session_file_path(sid) session_file = get_session_file_path(sid)
if os.path.isfile(session_file): if os.path.isfile(session_file):