Index: branches/dev/html/install/batch/move_mailmaga_data.php
===================================================================
--- branches/dev/html/install/batch/move_mailmaga_data.php	(revision 11649)
+++ branches/dev/html/install/batch/move_mailmaga_data.php	(revision 11649)
@@ -0,0 +1,21 @@
+<?php
+<!--{*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *}-->
+require_once("../../require.php");
+
+$objQuery = new SC_Query();
+
+$objQuery->begin();
+$arrCustomerMail = $objQuery->getAll("
+UPDATE dtb_customer
+SET mailmaga_flg = (
+SELECT mail_flag
+FROM dtb_customer_mail
+WHERE dtb_customer.email = dtb_customer_mail.email
+)");
+$objQuery->commit();
+
+?>
