Changeset 20562 for branches/version-2_5-dev/data/class/SC_Customer.php
- Timestamp:
- 2011/03/09 14:31:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_Customer.php
r20538 r20562 27 27 class SC_Customer { 28 28 29 var $customer_data; // 会員情報 29 /** 会員情報 */ 30 var $customer_data; 30 31 31 32 function SC_Customer() { … … 111 112 function checkMobilePhoneId() { 112 113 //docomo用にデータを取り出す。 113 if(SC_MobileUserAgent_Ex::getCarrier() == 'docomo'){114 if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0)115 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId();116 }117 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) {114 if(SC_MobileUserAgent_Ex::getCarrier() == 'docomo'){ 115 if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 116 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); 117 } 118 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 118 119 return false; 119 120 } … … 136 137 function getCustomerDataFromMobilePhoneIdPass($pass) { 137 138 //docomo用にデータを取り出す。 138 if(SC_MobileUserAgent_Ex::getCarrier() == 'docomo'){139 if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0)140 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId();141 }142 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) {139 if(SC_MobileUserAgent_Ex::getCarrier() == 'docomo'){ 140 if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 141 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); 142 } 143 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 143 144 return false; 144 145 }
Note: See TracChangeset
for help on using the changeset viewer.
