server/migractions.py
branchstable
changeset 7782 40a49f4350a5
parent 7780 a1d5365fefc1
child 7797 a71618a75b53
child 7815 2a164a9cf81c
--- a/server/migractions.py	Tue Sep 13 14:54:00 2011 +0200
+++ b/server/migractions.py	Tue Sep 13 15:40:06 2011 +0200
@@ -117,15 +117,7 @@
             # which is called on regular start
             repo.hm.call_hooks('server_maintenance', repo=repo)
         if not schema and not getattr(config, 'quick_start', False):
-            insert_lperms = self.repo.get_versions()['cubicweb'] < (3, 14, 0) and 'localperms' in config.available_cubes()
-            if insert_lperms:
-                cubes = config._cubes
-                config._cubes += ('localperms',)
-            try:
-                schema = config.load_schema(expand_cubes=True)
-            finally:
-                if insert_lperms:
-                    config._cubes = cubes
+            schema = config.load_schema(expand_cubes=True)
         self.fs_schema = schema
         self._synchronized = set()