Ignore:
Timestamp:
2012/02/06 21:27:04 (10 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • 無意味なスペースを削除
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Customer.php

    r21442 r21444  
    3333    } 
    3434 
    35     function getCustomerDataFromEmailPass( $pass, $email, $mobile = false ) { 
     35    function getCustomerDataFromEmailPass( $pass, $email, $mobile = false) { 
    3636        // 小文字に変換 
    3737        $email = strtolower($email); 
     
    205205        $_SESSION['customer'] = $this->customer_data; 
    206206        // セッション情報の保存 
    207         GC_Utils_Ex::gfPrintLog("access : user=".$this->customer_data['customer_id'] ."\t"."ip=". $this->getRemoteHost(), CUSTOMER_LOG_REALFILE ); 
     207        GC_Utils_Ex::gfPrintLog("access : user=".$this->customer_data['customer_id'] ."\t"."ip=". $this->getRemoteHost(), CUSTOMER_LOG_REALFILE); 
    208208    } 
    209209 
     
    217217        $objSiteSess->unsetUniqId(); 
    218218        // ログに記録する 
    219         GC_Utils_Ex::gfPrintLog("logout : user=".$this->customer_data['customer_id'] ."\t"."ip=". $this->getRemoteHost(), CUSTOMER_LOG_REALFILE ); 
     219        GC_Utils_Ex::gfPrintLog("logout : user=".$this->customer_data['customer_id'] ."\t"."ip=". $this->getRemoteHost(), CUSTOMER_LOG_REALFILE); 
    220220    } 
    221221 
     
    303303    function updateOrderSummary($customer_id){ 
    304304        $objQuery = new SC_Query_Ex(); 
    305         $arrOrderSummary =  $objQuery->getRow("SUM( payment_total ) as buy_total, COUNT(order_id) as buy_times,MAX( create_date ) as last_buy_date, MIN(create_date) as first_buy_date","dtb_order","customer_id = ? AND del_flg = 0 AND status <> ?",array($customer_id,ORDER_CANCEL)); 
     305        $arrOrderSummary =  $objQuery->getRow("SUM( payment_total ) as buy_total, COUNT(order_id) as buy_times,MAX( create_date) as last_buy_date, MIN(create_date) as first_buy_date","dtb_order","customer_id = ? AND del_flg = 0 AND status <> ?",array($customer_id,ORDER_CANCEL)); 
    306306        $objQuery->update("dtb_customer",$arrOrderSummary,"customer_id = ?",array($customer_id)); 
    307307    } 
Note: See TracChangeset for help on using the changeset viewer.