server/__init__.py
changeset 5048 bf8a53a11b6d
parent 5043 fe52dd3936cf
child 5090 8c39d2bf58fd
--- a/server/__init__.py	Fri Mar 26 16:15:16 2010 +0100
+++ b/server/__init__.py	Fri Mar 26 16:15:41 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