Changeset 19882


Ignore:
Timestamp:
2011/01/12 12:25:32 (10 years ago)
Author:
fukuda
Message:

使用していない mailmaga_flg 処理の削除

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/regist/LC_Page_Regist.php

    r19832 r19882  
    129129 
    130130        $objQuery->update("dtb_customer", $arrRegist, $where, array($array["id"])); 
    131         $sql = "SELECT mailmaga_flg FROM dtb_customer WHERE email = ?"; 
    132         $result = $objQuery->getOne($sql, array($email)); 
    133131 
    134         switch($result) { 
    135         // 仮HTML 
    136         case '4': 
    137             $arrRegistMail["mailmaga_flg"] = 1; 
    138             break; 
    139         // 仮TEXT 
    140         case '5': 
    141             $arrRegistMail["mailmaga_flg"] = 2; 
    142             break; 
    143         // 仮なし 
    144         case '6': 
    145             $arrRegistMail["mailmaga_flg"] = 3; 
    146             break; 
    147         default: 
    148             $arrRegistMail["mailmaga_flg"] = $result; 
    149             break; 
    150         } 
    151  
    152         $objQuery->update("dtb_customer", $arrRegistMail, "email = " . SC_Utils_Ex::sfQuoteSmart($email). " AND del_flg = 0"); 
    153132        $objQuery->commit(); 
    154133 
Note: See TracChangeset for help on using the changeset viewer.