server/__init__.py
changeset 4848 41f84eea63c9
parent 4845 dc351b96f596
child 4913 083b4d454192
equal deleted inserted replaced
4847:9466604ef448 4848:41f84eea63c9
   232         for path in reversed(paths):
   232         for path in reversed(paths):
   233             mhandler.exec_event_script('post%s' % event, path)
   233             mhandler.exec_event_script('post%s' % event, path)
   234 
   234 
   235 
   235 
   236 # sqlite'stored procedures have to be registered at connection opening time
   236 # sqlite'stored procedures have to be registered at connection opening time
   237 from logilab.db import SQL_CONNECT_HOOKS
   237 from logilab.database import SQL_CONNECT_HOOKS
   238 
   238 
   239 # add to this set relations which should have their add security checking done
   239 # add to this set relations which should have their add security checking done
   240 # *BEFORE* adding the actual relation (done after by default)
   240 # *BEFORE* adding the actual relation (done after by default)
   241 BEFORE_ADD_RELATIONS = set(('owned_by',))
   241 BEFORE_ADD_RELATIONS = set(('owned_by',))
   242 
   242