server/checkintegrity.py
branchstable
changeset 5693 8af6623f3d4e
parent 5523 4bf975c049a6
child 5850 fabff2813ee4
--- a/server/checkintegrity.py	Wed Jun 09 09:42:24 2010 +0200
+++ b/server/checkintegrity.py	Wed Jun 09 09:54:35 2010 +0200
@@ -96,7 +96,7 @@
     cursor = session.pool['system']
     if not repo.system_source.dbhelper.has_fti_table(cursor):
         print 'no text index table'
-        dbhelper.init_fti(cursor)
+        repo.system_source.dbhelper.init_fti(cursor)
     repo.system_source.do_fti = True  # ensure full-text indexation is activated
     etypes = set()
     for eschema in schema.entities():