ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 13523 for OpenPNE


Ignore:
Timestamp:
May 18, 2010, 4:08:08 PM (13 years ago)
Author:
kiwa
Message:

#4428:画像サイズレコードの削除にdb_queryを使うようにした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.14.x/webapp/lib/db/image.php

    r13516 r13523  
    8282{
    8383    $db =& db_get_instance('image');
    84     $db2 =& db_get_instance();
    8584
    8685    $sql = 'DELETE FROM c_image WHERE filename = ?';
     
    8988
    9089    $sql = 'DELETE FROM c_image_size WHERE filename = ?';
    91     $params = array($filename);
    92     $db2->query($sql, $params);
     90    db_query($sql, $params);
    9391
    9492    //function cacheの削除
Note: See TracChangeset for help on using the changeset viewer.