Skip to content

Commit 5942f51

Browse files
authored
Merge pull request #1293 from seasoftjapan/seasoft/1273
キャッシュコントロールの簡素化 #1273
2 parents 7738847 + 1826e37 commit 5942f51

35 files changed

Lines changed: 2 additions & 47 deletions

data/class/pages/LC_Page.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,8 @@ public function allowClientCache()
603603
* @param string $mode (nocache/private)
604604
*
605605
* @return void
606+
*
607+
* @deprecated EC-CUBE 本体では使用していない。https://github.com/EC-CUBE/ec-cube2/issues/1273
606608
*/
607609
public function httpCacheControl($mode = '')
608610
{

data/class/pages/LC_Page_Sitemap.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ public function process()
8383
// FIXME PCサイトのみに限定している。ある程度妥当だとは思うが、よりベターな方法はないだろうか。
8484
$this->arrPageList = $this->getPageData('device_type_id = ?', DEVICE_TYPE_PC);
8585

86-
// キャッシュしない(念のため)
87-
header('Paragrama: no-cache');
88-
8986
// XMLテキスト
9087
header('Content-type: application/xml; charset=utf-8');
9188

data/class/pages/admin/LC_Page_Admin_Index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function init()
3939
{
4040
parent::init();
4141
$this->tpl_mainpage = 'login.tpl';
42-
$this->httpCacheControl('nocache');
4342
}
4443

4544
/**

data/class/pages/admin/customer/LC_Page_Admin_Customer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ public function init()
7676
// カテゴリ一覧設定
7777
$objDb = new SC_Helper_DB_Ex();
7878
$this->arrCatList = $objDb->sfGetCategoryList();
79-
80-
$this->httpCacheControl('nocache');
8179
}
8280

8381
/**

data/class/pages/admin/customer/LC_Page_Admin_Customer_SearchCustomer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function init()
4343
parent::init();
4444
$this->tpl_mainpage = 'customer/search_customer.tpl';
4545
$this->tpl_subtitle = '会員検索';
46-
$this->httpCacheControl('nocache');
4746
}
4847

4948
/**

data/class/pages/admin/mail/LC_Page_Admin_Mail.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ public function init()
7575

7676
// テンプレート一覧設定
7777
$this->arrTemplate = $this->lfGetMailTemplateList(SC_Helper_Mail_Ex::sfGetMailmagaTemplate());
78-
79-
$this->httpCacheControl('nocache');
8078
}
8179

8280
/**

data/class/pages/admin/order/LC_Page_Admin_Order.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ public function init()
6666

6767
// 支払い方法の取得
6868
$this->arrPayments = SC_Helper_Payment_Ex::getIDValueList();
69-
70-
$this->httpCacheControl('nocache');
7169
}
7270

7371
/**

data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ public function init()
131131

132132
// 配送業者の取得
133133
$this->arrDeliv = SC_Helper_Delivery_Ex::getIDValueList();
134-
135-
$this->httpCacheControl('nocache');
136134
}
137135

138136
/**

data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public function init()
5555

5656
$masterData = new SC_DB_MasterData_Ex();
5757
$this->arrMAILTEMPLATE = $masterData->getMasterData('mtb_mail_template');
58-
$this->httpCacheControl('nocache');
5958
}
6059

6160
/**

data/class/pages/admin/order/LC_Page_Admin_Order_MailView.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public function init()
4040
parent::init();
4141
$this->tpl_mainpage = 'order/mail_view.tpl';
4242
$this->tpl_subtitle = '受注管理メール確認';
43-
$this->httpCacheControl('nocache');
4443
}
4544

4645
/**

0 commit comments

Comments
 (0)