No longer automatically connect to the opensrf network
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 May 2008 02:07:23 +0000 (02:07 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 May 2008 02:07:23 +0000 (02:07 +0000)
no longer grab the user/workstation from within the python

git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@9609 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/oilsweb/oilsweb/lib/__init__.py
Open-ILS/web/oilsweb/oilsweb/lib/context.py

index 6816481..b2b8fd2 100644 (file)
@@ -33,8 +33,8 @@ class CoreContext(SubContext):
         self.ac_prefix.value = pylons.config['oils_added_content_prefix']
         self.skin.value = 'default' # XXX
         self.theme.value = 'default' # XXX
-        usermgr = oilsweb.lib.user.User(self)
-        usermgr.fetch_user()
+        #usermgr = oilsweb.lib.user.User(self)
+        #usermgr.fetch_user()
         #self.work_orgs = usermgr.fetch_work_orgs()
 
 Context.apply_sub_context('core', CoreContext)
index 6e91511..bcc2f36 100644 (file)
@@ -81,7 +81,7 @@ class Context(object):
         c = _context = Context()
         c._req = req
         c._resp = resp
-        childInit()
+        #childInit()
 
         for app, ctx in _subContexts.iteritems():
             ctx = ctx()