Move zsql methods of portal ids,

The transactionless connector doesn't use the archive system.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33378 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98a2c45e
......@@ -155,7 +155,10 @@ def DA__call__(self, REQUEST=None, __ick__=None, src__=0, test__=0, **kw):
# Connection id is retrieve from user preference
if c is None:
physical_path = self.getPhysicalPath()
if "portal_catalog" not in physical_path and 'cmf_activity' not in self.connection_id:
# XXX cleaner solution will be needed
if 'portal_catalog' not in physical_path and\
'cmf_activity' not in self.connection_id and\
'transactionless' not in self.connection_id:
try:
archive_id = self.portal_preferences.getPreferredArchive()
except AttributeError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment