server/hook.py
changeset 8393 77c7158916c1
parent 8239 c6cdd060212e
child 8394 b8b23af60019
--- a/server/hook.py	Wed May 09 16:35:46 2012 +0200
+++ b/server/hook.py	Wed May 09 16:43:48 2012 +0200
@@ -273,7 +273,8 @@
 RELATIONS_HOOKS = set(('before_add_relation',   'after_add_relation' ,
                        'before_delete_relation','after_delete_relation'))
 SYSTEM_HOOKS = set(('server_backup', 'server_restore',
-                    'server_startup', 'server_maintenance', 'server_shutdown',
+                    'server_startup', 'server_maintenance',
+                    'server_shutdown', 'before_server_shutdown',
                     'session_open', 'session_close'))
 ALL_HOOKS = ENTITIES_HOOKS | RELATIONS_HOOKS | SYSTEM_HOOKS