server/hooksmanager.py
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Wed, 24 Mar 2010 15:31:37 -0700
changeset 5232 78c1a531f7b3
parent 4517 0f3c10fc42b2
child 5421 8167de96c523
permissions -rw-r--r--
ticket #787032, schema view improvement

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)