Index: branches/version-2/data/class/pages/upgrade/LC_Page_Upgrade_Download.php
===================================================================
--- branches/version-2/data/class/pages/upgrade/LC_Page_Upgrade_Download.php	(revision 16932)
+++ branches/version-2/data/class/pages/upgrade/LC_Page_Upgrade_Download.php	(revision 17160)
@@ -213,9 +213,11 @@
             $this->registerUpdateLog($arrCopyLog, $objRet->data);
 
-            if ($mode != 'patch_download') {
-	            // dtb_moduleの更新
-	            $objLog->log("* insert/update dtb_module start");
-	            $this->updateMdlTable($objRet->data);
-            }
+            // dtb_moduleの更新
+            $objLog->log("* insert/update dtb_module start");
+            $this->updateMdlTable($objRet->data);
+
+            // DB更新ファイルの読み込み、実行
+            $objLog->log("* file execute start");
+            $this->fileExecute();
 
             // 配信サーバへ通知
@@ -370,4 +372,22 @@
         $objQuery->insert('dtb_module_update_logs', $arrInsert);
     }
+
+    /**
+     * DB更新ファイルの読み込み、実行
+     *
+     * パッチ側でupdate.phpを用意する.
+     * 他の変数・関数とかぶらないよう、
+     * LC_Update_Updater::execute()で処理を実行する.
+     */
+    function fileExecute() {
+        $file = DATA_PATH . 'downloads/update/update.php';
+        if (file_exists($file)) {
+            @include_once $file;
+            if (class_exists('LC_Update_Updater')) {
+                $update = new LC_Update_Updater;
+                $update->execute();
+            }
+        }
+    }
 }
 ?>
