diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_Base_editAndNextStep.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_Base_editAndNextStep.xml
index c54d7408ec0db9dd1643a3f16c7f4c347a5f3f00..47ba8f14ad73391d0eb0d61139ed651eca37d778 100644
--- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_Base_editAndNextStep.xml
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_Base_editAndNextStep.xml
@@ -94,7 +94,6 @@ if mode == \'edit\':\n
       attachment_file_list = kw[\'attachment\']\n
     attachment_list = zip(attachment_file_list, attachment_title_list)\n
     attachment_count = 0\n
-    meta_type_dict = {}\n
     type_dict = {}\n
     type_allowed_content_type_list = context.getTypeInfo().getTypeAllowedContentTypeList()\n
     for i in range(len(attachment_list)+1)[1:]:\n
@@ -102,7 +101,6 @@ if mode == \'edit\':\n
       title = getattr(context.getTypeInfo(), "getAttachmentTitle%s" % i, None) \n
       if title is not None and type is not None:\n
         type_object = context.restrictedTraverse(context.getPortalObject().getUrl()+"/portal_types/"+type())\n
-        meta_type_dict[title()] =  type_object.getTypeMimeTypeList()\n
         type_dict[title()] =  type_object.getId()\n
         if type_object.getId() not in type_allowed_content_type_list: \n
           type_allowed_content_type_list.append(type_object.getId())\n
@@ -264,7 +262,6 @@ return context.Base_redirect(next_url, keep_items = dict(portal_status_message=m
                             <string>attachment_file_list</string>
                             <string>zip</string>
                             <string>attachment_list</string>
-                            <string>meta_type_dict</string>
                             <string>type_dict</string>
                             <string>type_allowed_content_type_list</string>
                             <string>range</string>
diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_Base_editAndRedirect.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_Base_editAndRedirect.xml
index bdaa4ca64370f24fe1222603186e7e1e82712dd4..d87b95f28e2f0d2ac5afd2175e71389a5af821d6 100644
--- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_Base_editAndRedirect.xml
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_Base_editAndRedirect.xml
@@ -92,7 +92,6 @@ if mode == \'edit\':\n
       attachment_title_list = kw[\'attachment_title\']\n
       attachment_file_list = kw[\'attachment\']\n
     attachment_list = zip(attachment_file_list, attachment_title_list)\n
-    meta_type_dict = {}\n
     type_dict = {}\n
     type_allowed_content_type_list = context.getTypeInfo().getTypeAllowedContentTypeList()\n
     for i in range(len(attachment_list)+1)[1:]:\n
@@ -100,7 +99,6 @@ if mode == \'edit\':\n
       title = getattr(context.getTypeInfo(), "getAttachmentTitle%s" % i, None) \n
       if title is not None and type is not None:\n
         type_object = context.restrictedTraverse(context.getPortalObject().getUrl()+"/portal_types/"+type())\n
-        meta_type_dict[title()] =  type_object.getTypeMimeTypeList()\n
         type_dict[title()] =  type_object.getId()\n
         if type_object.getId() not in type_allowed_content_type_list: \n
           type_allowed_content_type_list.append(type_object.getId())\n
@@ -234,7 +232,6 @@ return context.Base_redirect(next_url, keep_items = dict(portal_status_message=m
                             <string>attachment_file_list</string>
                             <string>zip</string>
                             <string>attachment_list</string>
-                            <string>meta_type_dict</string>
                             <string>type_dict</string>
                             <string>type_allowed_content_type_list</string>
                             <string>range</string>
diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_uploadAttachment.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_uploadAttachment.xml
index 7ac58a802f9de876a85db8dd36a387c2aa5fb063..ba114073cb7a5459ab03acb9751c7a121752acac 100644
--- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_uploadAttachment.xml
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_uploadAttachment.xml
@@ -75,7 +75,6 @@ if mode == \'edit\':\n
   attachment_list = zip(attachment_file_list, attachment_title_list)\n
 \n
   attachment_count = 0\n
-  meta_type_dict = {}\n
   type_dict = {}\n
   type_allowed_content_type_list = context.getTypeInfo().getTypeAllowedContentTypeList()\n
   for i in range(len(attachment_list)+1)[1:]:\n
@@ -83,7 +82,6 @@ if mode == \'edit\':\n
     title = getattr(context.getTypeInfo(), "getAttachmentTitle%s" % i, None) \n
     if title is not None and type is not None:\n
       type_object = context.restrictedTraverse(context.getPortalObject().getUrl()+"/portal_types/"+type())\n
-      meta_type_dict[title()] =  type_object.getTypeMimeTypeList()\n
       type_dict[title()] =  type_object.getId()\n
       if type_object.getId() not in type_allowed_content_type_list: \n
         type_allowed_content_type_list.append(type_object.getId())\n
@@ -192,7 +190,6 @@ return context.Base_redirect(form_id, keep_items = dict(portal_status_message =p
                             <string>zip</string>
                             <string>attachment_list</string>
                             <string>attachment_count</string>
-                            <string>meta_type_dict</string>
                             <string>type_dict</string>
                             <string>type_allowed_content_type_list</string>
                             <string>range</string>
diff --git a/bt5/erp5_egov/bt/change_log b/bt5/erp5_egov/bt/change_log
index 3a43309b27f5cff8db855ef69d8c5edabde82dd7..b01fe2ba4f9cff7249aa6ee679c5de4a3f19cc78 100644
--- a/bt5/erp5_egov/bt/change_log
+++ b/bt5/erp5_egov/bt/change_log
@@ -1,3 +1,6 @@
+2010-06-13 mayoro
+*remove unused variables
+
 2010-06-02 mayoro
 * clean up change log and remove mistakes
 * remove replacing whitespace in preocedure title
diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision
index 3c2af958d84db22af9269241a467564444f7265e..f520b6ed4c0830e653ac02c1f8eec8c51d171997 100644
--- a/bt5/erp5_egov/bt/revision
+++ b/bt5/erp5_egov/bt/revision
@@ -1 +1 @@
-526
\ No newline at end of file
+530
\ No newline at end of file