server/hooksmanager.py
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Wed, 09 Dec 2009 12:23:31 +0100
changeset 4073 03681ba6da0b
parent 3720 5376aaadd16b
child 4252 6c4f109c2b03
permissions -rw-r--r--
cw 3.6 api update

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