From 99f83504ab5ac19dad0362f81fd0918acbd3aa29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 15 Mar 2010 08:57:45 +0000
Subject: [PATCH] remove External Folder, as upload module has been removed too

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33717 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/External%20Folder/view.xml   | 85 -------------------
 .../allowed_content_types.xml                 |  3 -
 .../portal_types/External%20Folder.xml        | 58 -------------
 bt5/erp5_forge/bt/revision                    |  2 +-
 bt5/erp5_forge/bt/template_action_path_list   |  1 -
 bt5/erp5_forge/bt/template_extension_id_list  |  1 -
 ...late_portal_type_allowed_content_type_list |  1 -
 .../bt/template_portal_type_id_list           |  1 -
 8 files changed, 1 insertion(+), 151 deletions(-)
 delete mode 100644 bt5/erp5_forge/ActionTemplateItem/portal_types/External%20Folder/view.xml
 delete mode 100644 bt5/erp5_forge/PortalTypeTemplateItem/portal_types/External%20Folder.xml

diff --git a/bt5/erp5_forge/ActionTemplateItem/portal_types/External%20Folder/view.xml b/bt5/erp5_forge/ActionTemplateItem/portal_types/External%20Folder/view.xml
deleted file mode 100644
index 9fb85b20b7..0000000000
--- a/bt5/erp5_forge/ActionTemplateItem/portal_types/External%20Folder/view.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>action_type/object_view</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_view</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>view</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>View</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="Expression" module="Products.CMFCore.Expression"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/ExternalFolder_view</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_forge/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_forge/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index d14e957f47..28528c48e1 100644
--- a/bt5/erp5_forge/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_forge/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -10,9 +10,6 @@
  <portal_type id="Bug Module">
   <item>Bug</item>
  </portal_type>
- <portal_type id="External Folder">
-  <item>External Folder</item>
- </portal_type>
  <portal_type id="Glossary Module">
   <item>Glossary Term</item>
  </portal_type>
diff --git a/bt5/erp5_forge/PortalTypeTemplateItem/portal_types/External%20Folder.xml b/bt5/erp5_forge/PortalTypeTemplateItem/portal_types/External%20Folder.xml
deleted file mode 100644
index bf29bab2df..0000000000
--- a/bt5/erp5_forge/PortalTypeTemplateItem/portal_types/External%20Folder.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>acquire_local_roles</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-        <item>
-            <key> <string>content_icon</string> </key>
-            <value> <string>document.gif</string> </value>
-        </item>
-        <item>
-            <key> <string>content_meta_type</string> </key>
-            <value> <string>ERP5 External Folder</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string>ExtFolder stores sub-objects as ExtFile or ExtImage.\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>factory</string> </key>
-            <value> <string>addExtFolder</string> </value>
-        </item>
-        <item>
-            <key> <string>filter_content_types</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-        <item>
-            <key> <string>group_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>External Folder</string> </value>
-        </item>
-        <item>
-            <key> <string>init_script</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision
index ed1c32452c..99fd4575a5 100644
--- a/bt5/erp5_forge/bt/revision
+++ b/bt5/erp5_forge/bt/revision
@@ -1 +1 @@
-575
\ No newline at end of file
+577
\ No newline at end of file
diff --git a/bt5/erp5_forge/bt/template_action_path_list b/bt5/erp5_forge/bt/template_action_path_list
index e82c10a2a7..592bb7465e 100644
--- a/bt5/erp5_forge/bt/template_action_path_list
+++ b/bt5/erp5_forge/bt/template_action_path_list
@@ -17,7 +17,6 @@ Business Template | svn_unversioned_files
 Business Template | update_svn_bt
 Business Template | update_svn_bt_norevert
 Business Template | view_svn_repos_infos
-External Folder | view
 Glossary Module | create_term_for_translation
 Glossary Module | export_po_file
 Glossary Module | find_duplicate_terms
diff --git a/bt5/erp5_forge/bt/template_extension_id_list b/bt5/erp5_forge/bt/template_extension_id_list
index 3521b2ca83..815ca1b8db 100644
--- a/bt5/erp5_forge/bt/template_extension_id_list
+++ b/bt5/erp5_forge/bt/template_extension_id_list
@@ -1,4 +1,3 @@
 Glossary
 PythonScriptParserUtility
-SecurityCloner
 ProxyFieldUtils
\ No newline at end of file
diff --git a/bt5/erp5_forge/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_forge/bt/template_portal_type_allowed_content_type_list
index a4ac3c5ea3..9bc733fa39 100644
--- a/bt5/erp5_forge/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_forge/bt/template_portal_type_allowed_content_type_list
@@ -3,5 +3,4 @@ Bug Line | Image
 Bug Module | Bug
 Bug | Bug Line
 Bug | File
-External Folder | External Folder
 Glossary Module | Glossary Term
\ No newline at end of file
diff --git a/bt5/erp5_forge/bt/template_portal_type_id_list b/bt5/erp5_forge/bt/template_portal_type_id_list
index c1cc08e340..b5cfe87353 100644
--- a/bt5/erp5_forge/bt/template_portal_type_id_list
+++ b/bt5/erp5_forge/bt/template_portal_type_id_list
@@ -1,6 +1,5 @@
 Bug
 Bug Line
 Bug Module
-External Folder
 Glossary Module
 Glossary Term
\ No newline at end of file
-- 
2.30.9