Changeset 23598


Ignore:
Timestamp:
2014/08/21 21:41:07 (7 years ago)
Author:
kimoto
Message:

#2448 typo修正・ソース整形・ソースコメントの改善 for 2.13.3
 https://scrutinizer-ci.com/g/nobuhiko/EC-CUBE/issues/develop/files/data/class/helper/SC_Helper_DB.php?selectedSeverities%5B0%5D=10&orderField=path&order=asc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/helper/SC_Helper_DB.php

    r23573 r23598  
    105105    public static function sfDataExists($tableName, $where, $arrWhereVal) 
    106106    { 
    107         $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    108  
    109107        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    110108        $exists = $objQuery->exists($tableName, $where, $arrWhereVal); 
     
    801799                $sqlval['product_count'] = (string) '0'; 
    802800            } 
    803             $ret = $objQuery->update('dtb_category_total_count', $sqlval, 'category_id = ?', array($cid)); 
     801            $objQuery->update('dtb_category_total_count', $sqlval, 'category_id = ?', array($cid)); 
    804802            if (!$ret) { 
    805803                $sqlval['category_id'] = $cid; 
    806                 $ret = $objQuery->insert('dtb_category_total_count', $sqlval); 
     804                $objQuery->insert('dtb_category_total_count', $sqlval); 
    807805            } 
    808806        } 
     
    13581356    public function sfCountMaker($objQuery) 
    13591357    { 
    1360         $sql = ''; 
    1361  
    13621358        //テーブル内容の削除 
    13631359        $objQuery->query('DELETE FROM dtb_maker_count'); 
     
    15651561        if ($ret == 0) { 
    15661562            $arrData['id'] = 1; 
    1567             $ret = $objQuery->insert('dtb_baseinfo', $arrData); 
     1563            $objQuery->insert('dtb_baseinfo', $arrData); 
    15681564            GC_Utils_Ex::gfPrintLog('dtb_baseinfo に INSERT を実行しました。'); 
    15691565        } 
Note: See TracChangeset for help on using the changeset viewer.