Ignore:
Timestamp:
2012/11/02 12:39:24 (11 years ago)
Author:
pineray
Message:

#1903 (無駄な処理を改善する) 無駄な処理を削除。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping.php

    r22062 r22063  
    128128                    // モバイルサイトで携帯アドレスの登録が無い場合、携帯アドレス登録ページへ遷移 
    129129                    if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) { 
    130                         if ($this->hasEmailMobile($objCustomer) == false) { 
     130                        if (!$objCustomer->hasValue('email_mobile')) { 
    131131 
    132132                            SC_Response_Ex::sendRedirectFromUrlPath('entry/email_mobile.php'); 
     
    488488 
    489489    /** 
    490      * ログインした会員の携帯メールアドレス登録があるかどうか 
    491      * 
    492      * ログインした会員の携帯メールアドレスの存在をチェックする 
    493      * 
    494      * @param SC_Customer $objCustomer SC_Customer インスタンス 
    495      * @return boolean 会員の携帯メールアドレス登録がある場合 true 
    496      */ 
    497     function hasEmailMobile(&$objCustomer) { 
    498         $objMobile = new SC_Helper_Mobile_Ex(); 
    499         if ($objCustomer->hasValue('email_mobile')) { 
    500             return true; 
    501         } 
    502         return false; 
    503     } 
    504  
    505     /** 
    506490     * 仮会員かどうかを判定する. 
    507491     * 
Note: See TracChangeset for help on using the changeset viewer.