From 55f7384141bcf2f580f9bf5d0f481f5347ff4737 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Thu, 14 Apr 2011 09:32:46 +0000
Subject: [PATCH] Fix backward compatibility.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45413 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Core/SQLCache.py | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 product/ERP5Type/Core/SQLCache.py

diff --git a/product/ERP5Type/Core/SQLCache.py b/product/ERP5Type/Core/SQLCache.py
new file mode 100644
index 0000000000..97e30c5b48
--- /dev/null
+++ b/product/ERP5Type/Core/SQLCache.py
@@ -0,0 +1,5 @@
+# Simple, stupid backward compatibility with existing persistent instances.
+# Makes it possible to upgrade erp5_core on old sites (otherwise, saving to
+# portal_trash fails).
+from Products.ERP5Type.XMLObject import XMLObject as SQLCache
+
-- 
2.30.9