sobjects/hooks.py
changeset 2497 07d20d5da4e3
parent 2495 abcbadcc110a
child 2498 5fb8aabb0448
--- a/sobjects/hooks.py	Fri Jul 24 18:26:31 2009 +0200
+++ b/sobjects/hooks.py	Fri Jul 24 18:38:51 2009 +0200
@@ -12,7 +12,7 @@
 from cubicweb.server.pool import PreCommitOperation
 
 
-class SetModificationDateOnStateChange(hooksmanager.Hook):
+class SetModificationDateOnStateChange(Hook):
     """update entity's modification date after changing its state"""
     events = ('after_add_relation',)
     accepts = ('in_state',)