Ignore:
Timestamp:
2011/12/26 17:11:08 (12 years ago)
Author:
Seasoft
Message:

#1582 (SC_Query 一致レコードの有無を返す機能を追加 (パフォーマンス改善))
#1526 (typo修正・ソース整形・ソースコメントの改善)
#1449 (不要な関数・処理の整理)

File:
1 edited

Legend:

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

    r21185 r21376  
    268268        $objQuery = new SC_Query_Ex(); 
    269269 
    270         $count = $objQuery->count($table, $where, array($objRet->product_id)); 
    271         if ($count) { 
     270        $exists = $objQuery->exists($table, $where, array($objRet->product_id)); 
     271        if ($exists) { 
    272272            $arrUpdate = array( 
    273273                'module_code' => $objRet->product_code, 
Note: See TracChangeset for help on using the changeset viewer.