Ignore:
Timestamp:
2011/12/19 16:08:17 (10 years ago)
Author:
shutta
Message:

refs #1579 (SC_Query::getSingletonInstance()への置き換え)
既存コード中の
$objQuery = new SC_Query_Ex();
のような部分を、
$objQuery =& SC_Query_Ex::getSingletonInstance();
へ置き換え。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php

    r21319 r21368  
    177177    // お気に入り商品削除 
    178178    function lfDeleteFavoriteProduct($customer_id, $product_id) { 
    179         $objQuery   = new SC_Query_Ex(); 
     179        $objQuery       =& SC_Query_Ex::getSingletonInstance(); 
    180180        $count      = $objQuery->count("dtb_customer_favorite_products", "customer_id = ? AND product_id = ?", array($customer_id, $product_id)); 
    181181 
Note: See TracChangeset for help on using the changeset viewer.