[Svn-src-all:1281] [version-2_5-dev 20170] LC_Page_Mypage_Change リファクタリング #981

kotani admin @ mail.ec-cube.net
2011年 2月 15日 (火) 19:31:00 JST


Subversion committed to /home/svn/open 20170
http://svn.ec-cube.net/open_trac/changeset/20170
┌────────────────────────────┐
│更新者 :  kotani                                       │
│更新日時:  2011-02-15 19:31:00 +0900 (火, 15  2月 2011)│
└────────────────────────────┘

Log:
--------------------------------------------------------
LC_Page_Mypage_Change リファクタリング #981
* 参照渡しとなっている引数に対して、呼び出し側で参照渡ししないよう修正。

Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php

変更: branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php
===================================================================
--- branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php	2011-02-15 10:05:40 UTC (rev 20169)
+++ branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php	2011-02-15 10:31:00 UTC (rev 20170)
@@ -403,7 +403,7 @@
     }
 
     function sfCustomerOtherDelivErrorCheck(&$objFormParam) {
-        $objErr = SC_Helper_Customer_Ex::sfCustomerCommonErrorCheck(&$objFormParam);
+        $objErr = SC_Helper_Customer_Ex::sfCustomerCommonErrorCheck($objFormParam);
         return $objErr->arrErr;
     }
 
@@ -415,8 +415,8 @@
      * @return array エラーの配列
      */
     function sfCustomerEntryErrorCheck(&$objFormParam) {
-        $objErr = SC_Helper_Customer_Ex::sfCustomerCommonErrorCheck(&$objFormParam);
-        $objErr = SC_Helper_Customer_Ex::sfCustomerRegisterErrorCheck(&$objErr);
+        $objErr = SC_Helper_Customer_Ex::sfCustomerCommonErrorCheck($objFormParam);
+        $objErr = SC_Helper_Customer_Ex::sfCustomerRegisterErrorCheck($objErr);
 
         return $objErr->arrErr;
     }
@@ -434,7 +434,7 @@
         $objFormParam->toLower('email_mobile02');
 
         $objErr = SC_Helper_Customer_Ex::sfCustomerCommonErrorCheck($objFormParam);
-        $objErr = SC_Helper_Customer_Ex::sfCustomerRegisterErrorCheck(&$objErr);
+        $objErr = SC_Helper_Customer_Ex::sfCustomerRegisterErrorCheck($objErr);
 
         if (isset($objErr->arrErr['password']) && $objFormParam->getValue('password') == DEFAULT_PASSWORD) {
             unset($objErr->arrErr['password']);




Svn-src-all メーリングリストの案内