From 6ca9330e3a3a464d985fbd3a320d806bb858ca07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 7 Dec 2007 17:52:22 +0000
Subject: [PATCH] Remove dead code

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18147 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_core/Folder_getContentListReportSectionList.xml      | 4 ----
 product/ERP5/bootstrap/erp5_core/bt/revision                  | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getContentListReportSectionList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getContentListReportSectionList.xml
index 34aa833683..2793eacc16 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getContentListReportSectionList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getContentListReportSectionList.xml
@@ -77,10 +77,6 @@ stool = portal.portal_selections\n
 \n
 def getFormIdFromAction(action):\n
   return action[\'url\'].split(\'/\')[-1].split(\'?\')[0]\n
-  # something like this will be needed to print default document view:\n
-  form = getattr(context, form_id, None)\n
-  if hasattr(form, \'action\'):\n
-    return form.action\n
 \n
 def getReportSectionForObject(doc):\n
   """ Get all possible report section for object. """\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 6f1745c38f..748e6f1af5 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-636
\ No newline at end of file
+637
\ No newline at end of file
-- 
2.30.9