Ignore:
Timestamp:
2012/04/16 19:53:39 (12 years ago)
Author:
shutta
Message:

#1579 SC_Query::getSingletonInstance()への置き換え

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/upgrade/LC_Page_Upgrade_Base.php

    r21490 r21750  
    3636    function autoUpdateEnable($product_id) { 
    3737        $where = 'module_id = ?'; 
    38         $objQuery = new SC_Query_Ex(); 
     38        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    3939        $arrRet = $objQuery->select('auto_update_flg', 'dtb_module', $where, array($product_id)); 
    4040 
     
    9595 
    9696    function getPublicKey() { 
    97         $objQuery = new SC_Query_Ex(); 
     97        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    9898        $arrRet = $objQuery->select('*', 'dtb_ownersstore_settings'); 
    9999        return isset($arrRet[0]['public_key']) 
Note: See TracChangeset for help on using the changeset viewer.