From c0f4af89342cd484c69f25b99b5da4b178c4b808 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Fri, 27 Mar 2009 12:31:08 +0000
Subject: [PATCH] now content_type_registry is not used and there is no need to
 install it by default.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26184 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../content_type_registry.xml                 | 475 ------------------
 .../bootstrap/erp5_core/bt/template_path_list |   1 -
 2 files changed, 476 deletions(-)
 delete mode 100644 product/ERP5/bootstrap/erp5_core/PathTemplateItem/content_type_registry.xml

diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/content_type_registry.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/content_type_registry.xml
deleted file mode 100644
index c79d0ac0bb..0000000000
--- a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/content_type_registry.xml
+++ /dev/null
@@ -1,475 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ContentTypeRegistry" module="Products.CMFCore.ContentTypeRegistry"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>predicate_ids</string> </key>
-            <value>
-              <tuple>
-                <string>txt rtf doc odt</string>
-                <string>img</string>
-                <string>pdf_file</string>
-                <string>spread</string>
-                <string>slides</string>
-                <string>Drawing</string>
-                <string>Incoming Emails</string>
-                <string>Ingested Document</string>
-                <string>mime_html</string>
-                <string>html</string>
-                <string>any</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>predicates</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="PersistentMapping" module="Persistence.mapping"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>data</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>Drawing</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                        <string>Drawing</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>Incoming Emails</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
-                        <string>Mail Message</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>Ingested Document</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
-                        <string>Document Ingestion Message</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>any</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
-                        <string>File</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>html</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
-                        <string>Web Page</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>img</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent>
-                        <string>Image</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>mime_html</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent>
-                        <string>Web Page</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>pdf_file</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent>
-                        <string>PDF</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>slides</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent>
-                        <string>Presentation</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>spread</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAAw=</string> </persistent>
-                        <string>Spreadsheet</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>txt rtf doc odt</string> </key>
-                    <value>
-                      <tuple>
-                        <persistent> <string encoding="base64">AAAAAAAAAA0=</string> </persistent>
-                        <string>Text</string>
-                      </tuple>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ContentTypeRegistry</string>
-          <string>ExtensionPredicate</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>sxd</string>
-                <string>odg</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Drawing</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
-    <pickle>
-      <tuple>
-        <global name="ExtensionPredicate" module="Products.CMFCore.ContentTypeRegistry"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>eml</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Incoming Emails</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="5" aka="AAAAAAAAAAU=">
-    <pickle>
-      <tuple>
-        <global name="ExtensionPredicate" module="Products.CMFCore.ContentTypeRegistry"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>emx</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Ingested Document</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="6" aka="AAAAAAAAAAY=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ContentTypeRegistry</string>
-          <string>MajorMinorPredicate</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>any</string> </value>
-        </item>
-        <item>
-            <key> <string>major</string> </key>
-            <value>
-              <list/>
-            </value>
-        </item>
-        <item>
-            <key> <string>minor</string> </key>
-            <value>
-              <list/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="7" aka="AAAAAAAAAAc=">
-    <pickle>
-      <tuple>
-        <global name="ExtensionPredicate" module="Products.CMFCore.ContentTypeRegistry"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>html</string>
-                <string>htm</string>
-                <string>php</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>html</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="8" aka="AAAAAAAAAAg=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ContentTypeRegistry</string>
-          <string>ExtensionPredicate</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>gif</string>
-                <string>jpg</string>
-                <string>jpeg</string>
-                <string>png</string>
-                <string>bmp</string>
-                <string>GIF</string>
-                <string>JPG</string>
-                <string>JPEG</string>
-                <string>PNG</string>
-                <string>BMP</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>img</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="9" aka="AAAAAAAAAAk=">
-    <pickle>
-      <tuple>
-        <global name="MajorMinorPredicate" module="Products.CMFCore.ContentTypeRegistry"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>mime_html</string> </value>
-        </item>
-        <item>
-            <key> <string>major</string> </key>
-            <value>
-              <list>
-                <string>text</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>minor</string> </key>
-            <value>
-              <list>
-                <string>html</string>
-              </list>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="10" aka="AAAAAAAAAAo=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ContentTypeRegistry</string>
-          <string>ExtensionPredicate</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>pdf</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>pdf_file</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="11" aka="AAAAAAAAAAs=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ContentTypeRegistry</string>
-          <string>ExtensionPredicate</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>ppt</string>
-                <string>odp</string>
-                <string>sxi</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>slides</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="12" aka="AAAAAAAAAAw=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ContentTypeRegistry</string>
-          <string>ExtensionPredicate</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>xls</string>
-                <string>ods</string>
-                <string>sdc</string>
-                <string>sxc</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>spread</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="13" aka="AAAAAAAAAA0=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ContentTypeRegistry</string>
-          <string>ExtensionPredicate</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>extensions</string> </key>
-            <value>
-              <list>
-                <string>txt</string>
-                <string>doc</string>
-                <string>odt</string>
-                <string>sxw</string>
-                <string>rtf</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>txt rtf doc odt</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_path_list b/product/ERP5/bootstrap/erp5_core/bt/template_path_list
index 09ddbdcf3b..24a918cd62 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/template_path_list
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_path_list
@@ -1,4 +1,3 @@
-content_type_registry
 portal_alarms/check_stock
 portal_alarms/expired_password_alarm
 portal_caches/erp5_content_long
-- 
2.30.9