diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_SubCatalogQuery.catalog_keys.xml b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_SubCatalogQuery.catalog_keys.xml
deleted file mode 100644
index a540f9431e9c394244ed71562b197938e6fe9258..0000000000000000000000000000000000000000
--- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_SubCatalogQuery.catalog_keys.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<catalog_method>
-</catalog_method>
diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_SubCatalogQuery.xml b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_SubCatalogQuery.xml
deleted file mode 100644
index ed673aa36a72842c5bc3ae86383cee110182ab25..0000000000000000000000000000000000000000
--- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_SubCatalogQuery.xml
+++ /dev/null
@@ -1,265 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="SQL" module="Products.ZSQLMethods.SQL"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_arg</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_data</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>from_expression</string> </key>
-                                <value>
-                                  <dictionary/>
-                                </value>
-                            </item>
-                            <item>
-                                <key> <string>from_table_list</string> </key>
-                                <value>
-                                  <dictionary>
-                                    <item>
-                                        <key> <string>type</string> </key>
-                                        <value> <string>list</string> </value>
-                                    </item>
-                                  </dictionary>
-                                </value>
-                            </item>
-                            <item>
-                                <key> <string>group_by_expression</string> </key>
-                                <value>
-                                  <dictionary/>
-                                </value>
-                            </item>
-                            <item>
-                                <key> <string>limit_expression</string> </key>
-                                <value>
-                                  <dictionary/>
-                                </value>
-                            </item>
-                            <item>
-                                <key> <string>select_expression</string> </key>
-                                <value>
-                                  <dictionary/>
-                                </value>
-                            </item>
-                            <item>
-                                <key> <string>selection_domain</string> </key>
-                                <value>
-                                  <dictionary/>
-                                </value>
-                            </item>
-                            <item>
-                                <key> <string>selection_report</string> </key>
-                                <value>
-                                  <dictionary/>
-                                </value>
-                            </item>
-                            <item>
-                                <key> <string>where_expression</string> </key>
-                                <value>
-                                  <dictionary/>
-                                </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                    <item>
-                        <key> <string>_keys</string> </key>
-                        <value>
-                          <list>
-                            <string>selection_domain</string>
-                            <string>selection_report</string>
-                            <string>where_expression</string>
-                            <string>select_expression</string>
-                            <string>group_by_expression</string>
-                            <string>from_table_list</string>
-                            <string>from_expression</string>
-                            <string>limit_expression</string>
-                          </list>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>arguments_src</string> </key>
-            <value> <string>selection_domain\r\n
-selection_report\r\n
-where_expression\r\n
-select_expression\r\n
-group_by_expression\r\n
-from_table_list:list\r\n
-from_expression\r\n
-limit_expression</string> </value>
-        </item>
-        <item>
-            <key> <string>connection_id</string> </key>
-            <value> <string>erp5_sql_connection</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>z_SubCatalogQuery</string> </value>
-        </item>
-        <item>
-            <key> <string>src</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-catalog.uid IN (\n
-  SELECT catalog.uid\n
-  FROM\n
-    catalog,\n
-    <dtml-if from_expression>\n
-      <dtml-var from_expression>\n
-    <dtml-else>\n
-      <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n
-    </dtml-if>\n
-    <dtml-if selection_domain>\n
-      <dtml-let expression="portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_domain, category_table_alias = \'domain_category\')">\n
-        <dtml-if expression> , <dtml-var expression> </dtml-if>\n
-      </dtml-let>\n
-    </dtml-if>\n
-    <dtml-if selection_report>\n
-      <dtml-let expression="portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_report, category_table_alias = \'report_category\')">\n
-        <dtml-if expression> , <dtml-var expression> </dtml-if>\n
-      </dtml-let>\n
-    </dtml-if>\n
-  WHERE \n
-    1 = 1 \n
-    <dtml-if where_expression>\n
-    AND <dtml-var where_expression>\n
-    </dtml-if>\n
-    <dtml-if selection_domain>\n
-      <dtml-let expression="portal_selections.buildSQLExpressionFromDomainSelection(selection_domain, category_table_alias = \'domain_category\')">\n
-        <dtml-if expression> AND <dtml-var expression> </dtml-if>\n
-      </dtml-let>\n
-    </dtml-if>\n
-    <dtml-if selection_report>\n
-      <dtml-let expression="portal_selections.buildSQLExpressionFromDomainSelection(selection_report, strict_membership=1, category_table_alias = \'report_category\')">\n
-        <dtml-if expression> AND <dtml-var expression> </dtml-if>\n
-      </dtml-let>\n
-    </dtml-if>\n
-    <dtml-if group_by_expression>\n
-  GROUP BY\n
-      <dtml-var group_by_expression>\n
-    </dtml-if>\n
-    <dtml-if limit_expression>\n
-  LIMIT <dtml-var "limit_expression">\n
-    </dtml-if>\n
-)\n
-
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>template</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="__newobj__" module="copy_reg"/>
-                </klass>
-                <tuple>
-                  <global name="SQL" module="Shared.DC.ZRDB.DA"/>
-                </tuple>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>__name__</string> </key>
-                        <value> <string encoding="cdata"><![CDATA[
-
-<string>
-
-]]></string> </value>
-                    </item>
-                    <item>
-                        <key> <string>_vars</string> </key>
-                        <value>
-                          <dictionary/>
-                        </value>
-                    </item>
-                    <item>
-                        <key> <string>globals</string> </key>
-                        <value>
-                          <dictionary/>
-                        </value>
-                    </item>
-                    <item>
-                        <key> <string>raw</string> </key>
-                        <value> <string encoding="cdata"><![CDATA[
-
-catalog.uid IN (\n
-  SELECT catalog.uid\n
-  FROM\n
-    catalog,\n
-    <dtml-if from_expression>\n
-      <dtml-var from_expression>\n
-    <dtml-else>\n
-      <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n
-    </dtml-if>\n
-    <dtml-if selection_domain>\n
-      <dtml-let expression="portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_domain, category_table_alias = \'domain_category\')">\n
-        <dtml-if expression> , <dtml-var expression> </dtml-if>\n
-      </dtml-let>\n
-    </dtml-if>\n
-    <dtml-if selection_report>\n
-      <dtml-let expression="portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_report, category_table_alias = \'report_category\')">\n
-        <dtml-if expression> , <dtml-var expression> </dtml-if>\n
-      </dtml-let>\n
-    </dtml-if>\n
-  WHERE \n
-    1 = 1 \n
-    <dtml-if where_expression>\n
-    AND <dtml-var where_expression>\n
-    </dtml-if>\n
-    <dtml-if selection_domain>\n
-      <dtml-let expression="portal_selections.buildSQLExpressionFromDomainSelection(selection_domain, category_table_alias = \'domain_category\')">\n
-        <dtml-if expression> AND <dtml-var expression> </dtml-if>\n
-      </dtml-let>\n
-    </dtml-if>\n
-    <dtml-if selection_report>\n
-      <dtml-let expression="portal_selections.buildSQLExpressionFromDomainSelection(selection_report, strict_membership=1, category_table_alias = \'report_category\')">\n
-        <dtml-if expression> AND <dtml-var expression> </dtml-if>\n
-      </dtml-let>\n
-    </dtml-if>\n
-    <dtml-if group_by_expression>\n
-  GROUP BY\n
-      <dtml-var group_by_expression>\n
-    </dtml-if>\n
-    <dtml-if limit_expression>\n
-  LIMIT <dtml-var "limit_expression">\n
-    </dtml-if>\n
-)\n
-
-
-]]></string> </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/change_log b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/change_log
index 663fe54dd3831253edd5a680cf0c1fe28b0cb76f..5d657afb30f339683d10398658982fe9c2624cbc 100644
--- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/change_log
@@ -1,3 +1,6 @@
+2010-03-03 yusuke
+* Remove unused script.
+
 2010-03-02 yusei
 * Remove short title.
 
diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
index 6fc1e6e18c45e38dba6c96fe27ed3514edfbb064..cde50ca2fd4ba909be88857a34e828b2d5e2373d 100644
--- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
+++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
@@ -1 +1 @@
-178
\ No newline at end of file
+179
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list
index de128b3cce4c5a66b3916bc3d79619ab328dec1d..3800649b5b92079e3cbb4ff32cad96689cfb836e 100644
--- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list
+++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list
@@ -29,7 +29,6 @@ erp5_mysql_innodb/z0_uncatalog_predicate
 erp5_mysql_innodb/z0_uncatalog_predicate_category
 erp5_mysql_innodb/z0_uncatalog_stock
 erp5_mysql_innodb/z0_uncatalog_versioning
-erp5_mysql_innodb/z_SubCatalogQuery
 erp5_mysql_innodb/z_catalog_alarm_list
 erp5_mysql_innodb/z_catalog_delivery_list
 erp5_mysql_innodb/z_catalog_fulltext_list