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

from logilab.common.deprecation import class_renamed, class_moved
from cubicweb.server.hook import Hook
SystemHook = class_renamed('SystemHook', Hook)
PropagateSubjectRelationHook = class_renamed('PropagateSubjectRelationHook', Hook)
PropagateSubjectRelationAddHook = class_renamed('PropagateSubjectRelationAddHook', Hook)
PropagateSubjectRelationDelHook = class_renamed('PropagateSubjectRelationDelHook', Hook)
Hook = class_moved(Hook)