[Svn-src-all:1252] [version-2_5-dev 20141] 退会完了リファクタリング #981

kimoto admin @ mail.ec-cube.net
2011年 2月 11日 (金) 18:57:22 JST


Subversion committed to /home/svn/open 20141
http://svn.ec-cube.net/open_trac/changeset/20141
┌────────────────────────────┐
│更新者 :  kimoto                                       │
│更新日時:  2011-02-11 18:57:22 +0900 (金, 11  2月 2011)│
└────────────────────────────┘

Log:
--------------------------------------------------------
退会完了リファクタリング #981


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

変更: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_RefusalComplete.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_RefusalComplete.php	2011-02-11 09:57:18 UTC (rev 20140)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_RefusalComplete.php	2011-02-11 09:57:22 UTC (rev 20141)
@@ -43,15 +43,16 @@
      */
     function init() {
         parent::init();
-        $this->tpl_title = 'MYページ';
-        if ( Net_UserAgent_Mobile::isMobile() === true){
+        $this->tpl_title    = 'MYページ';
+
+        if (SC_Display::detectDevice() === DEVICE_TYPE_MOBILE){
             $this->tpl_title .= '/退会手続き(完了ページ)';
         } else {
             $this->tpl_subtitle = '退会手続き(完了ページ)';
         }
-        $this->tpl_navi = TEMPLATE_REALDIR . 'mypage/navi.tpl';
+        $this->tpl_navi     = TEMPLATE_REALDIR . 'mypage/navi.tpl';
         $this->tpl_mypageno = 'refusal';
-        $this->point_disp = false;
+        $this->point_disp   = false;
     }
 
     /**
@@ -60,7 +61,7 @@
      * @return void
      */
     function process() {
-         parent::process();
+        parent::process();
         $this->action();
         $this->sendResponse();
     }
@@ -71,11 +72,6 @@
      * @return void
      */
     function action() {
-        $objCustomer = new SC_Customer();
-        //マイページトップ顧客情報表示用
-        $this->CustomerName1 = $objCustomer->getvalue('name01');
-        $this->CustomerName2 = $objCustomer->getvalue('name02');
-        $this->CustomerPoint = $objCustomer->getvalue('point');
     }
 
     /**
@@ -87,4 +83,3 @@
         parent::destroy();
     }
 }
-?>




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