changeset 4843 | 5f7363416765 |
parent 4835 | 13b0b96d7982 |
child 4913 | 083b4d454192 |
--- a/schema.py Tue Mar 09 08:59:43 2010 +0100 +++ b/schema.py Tue Mar 09 11:00:48 2010 +0100 @@ -1084,7 +1084,7 @@ if hasattr(cw, 'write_security'): # test it's a session and not a request # cw is a server session hasperm = not cw.write_security or \ - not cw.is_hooks_category_activated('integrity') or \ + not cw.is_hook_category_activated('integrity') or \ cw.user.has_permission(PERM_USE_TEMPLATE_FORMAT) else: hasperm = cw.user.has_permission(PERM_USE_TEMPLATE_FORMAT)