server/__init__.py
branchstable
changeset 5043 fe52dd3936cf
parent 4913 083b4d454192
child 5090 8c39d2bf58fd
--- a/server/__init__.py	Fri Mar 26 14:13:34 2010 +0100
+++ b/server/__init__.py	Fri Mar 26 15:53:07 2010 +0100
@@ -115,11 +115,7 @@
     from cubicweb.server.sqlutils import sqlexec, sqlschema, sqldropschema
     # configuration to avoid db schema loading and user'state checking
     # on connection
-    read_instance_schema = config.read_instance_schema
-    bootstrap_schema = config.bootstrap_schema
-    config.read_instance_schema = False
     config.creating = True
-    config.bootstrap_schema = True
     config.consider_user_state = False
     config.set_language = False
     # only enable the system source at initialization time + admin which is not
@@ -202,8 +198,6 @@
     repo.shutdown()
     # restore initial configuration
     config.creating = False
-    config.read_instance_schema = read_instance_schema
-    config.bootstrap_schema = bootstrap_schema
     config.consider_user_state = True
     config.set_language = True
     print '-> database for instance %s initialized.' % config.appid