server/serverconfig.py
branchstable
changeset 3638 648d6dbec630
parent 3637 0a0e86cb5c89
child 3674 387d51af966d
child 3835 a191b3b9e455
--- a/server/serverconfig.py	Mon Oct 12 12:20:51 2009 +0200
+++ b/server/serverconfig.py	Mon Oct 12 12:54:01 2009 +0200
@@ -75,12 +75,6 @@
 class ServerConfiguration(CubicWebConfiguration):
     """standalone RQL server"""
     name = 'repository'
-    if os.environ.get('APYCOT_ROOT'):
-        root = os.environ['APYCOT_ROOT']
-    elif CubicWebConfiguration.mode == 'dev':
-        BACKUP_DIR = CubicWebConfiguration.RUNTIME_DIR
-    else:
-        BACKUP_DIR = '/var/lib/cubicweb/backup/'
 
     cubicweb_appobject_path = CubicWebConfiguration.cubicweb_appobject_path | set(['sobjects'])
     cube_appobject_path = CubicWebConfiguration.cube_appobject_path | set(['sobjects', 'hooks'])