server/hooksmanager.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 21 Aug 2009 16:26:20 +0200
changeset 2968 0e3460341023
parent 2835 04034421b072
parent 2918 452b4c9ee61d
child 3090 8184bec7414d
permissions -rw-r--r--
somewhat painful backport of 3.5 branch, should mostly be ok
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2835
04034421b072 [hooks] major refactoring:
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2822
diff changeset
     1
from logilab.common.deprecation import class_renamed, class_moved
04034421b072 [hooks] major refactoring:
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2822
diff changeset
     2
from cubicweb.server.hook import Hook
04034421b072 [hooks] major refactoring:
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2822
diff changeset
     3
SystemHook = class_renamed('SystemHook', Hook)
2968
0e3460341023 somewhat painful backport of 3.5 branch, should mostly be ok
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2835 2918
diff changeset
     4
PropagateSubjectRelationHook = class_renamed('PropagateSubjectRelationHook', Hook)
0e3460341023 somewhat painful backport of 3.5 branch, should mostly be ok
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2835 2918
diff changeset
     5
PropagateSubjectRelationAddHook = class_renamed('PropagateSubjectRelationAddHook', Hook)
0e3460341023 somewhat painful backport of 3.5 branch, should mostly be ok
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2835 2918
diff changeset
     6
PropagateSubjectRelationDelHook = class_renamed('PropagateSubjectRelationDelHook', Hook)
2835
04034421b072 [hooks] major refactoring:
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2822
diff changeset
     7
Hook = class_moved(Hook)