Ignore:
Timestamp:
2011/01/05 19:13:48 (13 years ago)
Author:
ghana
Message:

使用していない関数を削除

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_Edit.php

    r19807 r19828  
    216216    } 
    217217 
    218  
    219     // 編集登録 
    220     function lfRegisDatat($array, $arrRegistColumn) { 
    221  
    222         foreach ($arrRegistColumn as $data) { 
    223             if($array[$data["column"]] != "") { 
    224                 $arrRegist[$data["column"]] = $array[$data["column"]]; 
    225             } else { 
    226                 $arrRegist[$data["column"]] = NULL; 
    227             } 
    228         } 
    229         if (strlen($array["year"]) > 0) { 
    230             $arrRegist["birth"] = $array["year"] ."/". $array["month"] ."/". $array["day"] ." 00:00:00"; 
    231         } 
    232  
    233         //-- パスワードの更新がある場合は暗号化。(更新がない場合はUPDATE文を構成しない) 
    234         if ($array["password"] != DEFAULT_PASSWORD) { 
    235             $arrRegist["password"] = sha1($array["password"] . ":" . AUTH_MAGIC); 
    236         } else { 
    237             unset($arrRegist['password']); 
    238         } 
    239  
    240         $arrRegist["update_date"] = "Now()"; 
    241  
    242         //-- 編集登録実行 
    243         $this->objQuery->begin(); 
    244         $this->objQuery->Insert("dtb_customer", $arrRegist, "customer_id = '" .addslashes($array["customer_id"]). "'"); 
    245  
    246         $this->objQuery->commit(); 
    247     } 
    248  
    249  
    250218    //---- 取得文字列の変換 
    251219    function lfConvertParam($array, $arrRegistColumn) { 
Note: See TracChangeset for help on using the changeset viewer.