Index: /branches/version-2_13-dev/data/class/plugin/SC_Plugin_Installer.php
===================================================================
--- /branches/version-2_13-dev/data/class/plugin/SC_Plugin_Installer.php	(revision 22978)
+++ /branches/version-2_13-dev/data/class/plugin/SC_Plugin_Installer.php	(revision 22990)
@@ -41,4 +41,5 @@
         $this->arrInstallData['insert'] = array();
         $this->arrInstallData['update'] = array();
+        $this->arrInstallData['delete'] = array();
         $this->arrInstallData['remove_file'] = array();
         $this->arrInstallData['remove_directory'] = array();
@@ -49,5 +50,4 @@
         
         $plugin_code = $this->arrPlugin['plugin_code'];
-
 
         // テーブル作成SQLなどを実行
@@ -147,5 +147,5 @@
     
     public function removeDirectory($dist) {
-       $this->arrInstallData['remove_file'][] = array(
+       $this->arrInstallData['remove_directory'][] = array(
             'dist' => $dist
         );     
@@ -171,5 +171,5 @@
      * @param type $type 
      */
-    function sqlAterTableAddColumn($table_name, $col_name, $col_type) {
+    function addColumn($table_name, $col_name, $col_type) {
         $sql = "ALTER TABLE $table_name ADD $col_name $col_type ";
         $this->sql($sql);
@@ -183,11 +183,10 @@
      * @param type $type 
      */
-    function sqlAterTableDropColumn($table_name, $col_name) {
+    function dropColumn($table_name, $col_name) {
         $sql = "ALTER TABLE $table_name DROP $col_name";
         $this->sql($sql);
     }
     
-    
-    function sqlInsert($table, $arrVal, $arrSql = array(), $arrSqlVal = array(), $from = '', $arrFromVal = array()) {
+    function insert($table, $arrVal, $arrSql = array(), $arrSqlVal = array(), $from = '', $arrFromVal = array()) {
         $this->arrInstallData['insert'][] = array(
             'table' => $table,
@@ -200,5 +199,5 @@
     }
     
-    function sqlUpdate($table, $arrVal, $where = '', $arrWhereVal = array(), $arrRawSql = array(), $arrRawSqlVal = array()) {
+    function update($table, $arrVal, $where = '', $arrWhereVal = array(), $arrRawSql = array(), $arrRawSqlVal = array()) {
         $this->arrInstallData['update'][] = array(
             'table' => $table,
@@ -232,11 +231,4 @@
         }
         
-        //$ret = $sth->execute($params);
-        //if (PEAR::isError($ret)) {
-        //    $error_message = $ret->message . ":" . $ret->userinfo;
-        //    $objQuery->force_run = false;
-        //    return $error_message;            
-        //}
-        
         $sth->free();
         // force_runをもとに戻す.
