From 8691c08aab9028abb15f0740ca4c2dd106e47bf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl>
Date: Thu, 28 Sep 2006 13:22:14 +0000
Subject: [PATCH] fixed naming (DMSDocument_getLatestVersion)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10402 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...ment_getLastVersion.xml => DMSDocument_getLatestVersion.xml} | 2 +-
 .../portal_skins/erp5_dms/DMS_getRelatedDocumentList.xml        | 2 +-
 bt5/erp5_dms/bt/revision                                        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/{DMSDocument_getLastVersion.xml => DMSDocument_getLatestVersion.xml} (98%)

diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMSDocument_getLastVersion.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMSDocument_getLatestVersion.xml
similarity index 98%
rename from bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMSDocument_getLastVersion.xml
rename to bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMSDocument_getLatestVersion.xml
index c8a855397d..d09000af6b 100644
--- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMSDocument_getLastVersion.xml
+++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMSDocument_getLatestVersion.xml
@@ -135,7 +135,7 @@ return res[0].getObject()\n
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>DMSDocument_getLastVersion</string> </value>
+            <value> <string>DMSDocument_getLatestVersion</string> </value>
         </item>
         <item>
             <key> <string>warnings</string> </key>
diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMS_getRelatedDocumentList.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMS_getRelatedDocumentList.xml
index 77a824b998..9146f289d0 100644
--- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMS_getRelatedDocumentList.xml
+++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMS_getRelatedDocumentList.xml
@@ -71,7 +71,7 @@
             <value> <string>def getRelatedLatest(category):\n
   funcname=\'get%sValueList\' % category.title()\n
   func=getattr(context,funcname)\n
-  return [o.DMS_getLatestVersion() for o in func()]\n
+  return [o.DMSDocument_getLatestVersion() for o in func()]\n
 \n
 what=kw.get(\'what\')\n
 if what==\'wiki_predecessor\':\n
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index 5e78f1eb7e..6e16ebf9e9 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-203
\ No newline at end of file
+208
\ No newline at end of file
-- 
2.30.9