Changeset 21614


Ignore:
Timestamp:
2012/03/08 03:27:14 (9 years ago)
Author:
Seasoft
Message:

#1474 (LC_Page_Admin_Products_Class#lfDeleteClass 戻り値不適切)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Class.php

    r21591 r21614  
    245245     * @param integer $class_id 規格ID 
    246246     * @param SC_Helper_DB $objDb SC_Helper_DBのインスタンス 
    247      * @return integer 更新件数 
     247     * @return integer 削除件数 
    248248     */ 
    249249    function lfDeleteClass($class_id) { 
     
    251251        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    252252 
    253         $objDb->sfDeleteRankRecord('dtb_class', 'class_id', $class_id, '', true); 
     253        $ret = $objDb->sfDeleteRankRecord('dtb_class', 'class_id', $class_id, '', true); 
    254254        $where= 'class_id = ?'; 
    255         $ret = $objQuery->delete('dtb_classcategory', $where, array($class_id)); 
     255        $objQuery->delete('dtb_classcategory', $where, array($class_id)); 
    256256        return $ret; 
    257257    } 
Note: See TracChangeset for help on using the changeset viewer.