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

Changeset 7067


Ignore:
Timestamp:
May 9, 2008, 3:37:18 PM (12 years ago)
Author:
ebihara
Message:

#2350:コールする関数名が古いもののままだったのを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/admin/lib/db_admin.php

    r7042 r7067  
    455455    if ($prefix == 'c') {
    456456        $tbl = 'c_commu';
    457         _db_admin_empty_image_filename($tbl, $image_filename);
     457        _db_admin_empty_filename($tbl, $image_filename);
    458458    }
    459459
    460460    if ($prefix == 't' || $prefix == 'tc') {
    461461        $tbl = 'c_commu_topic_comment';
    462         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename1');
    463         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename2');
    464         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename3');
     462        _db_admin_empty_filename($tbl, $image_filename, 'image_filename1');
     463        _db_admin_empty_filename($tbl, $image_filename, 'image_filename2');
     464        _db_admin_empty_filename($tbl, $image_filename, 'image_filename3');
    465465    }
    466466
    467467    if ($prefix == 'd') {
    468468        $tbl = 'c_diary';
    469         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_1');
    470         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_2');
    471         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_3');
     469        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_1');
     470        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_2');
     471        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_3');
    472472    }
    473473
    474474    if ($prefix == 'dc') {
    475475        $tbl = 'c_diary_comment';
    476         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_1');
    477         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_2');
    478         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_3');
     476        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_1');
     477        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_2');
     478        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_3');
    479479    }
    480480
    481481    if ($prefix == 'm') {
    482482        $tbl = 'c_member';
    483         _db_admin_empty_image_filename($tbl, $image_filename);
    484         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_1');
    485         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_2');
    486         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_3');
     483        _db_admin_empty_filename($tbl, $image_filename);
     484        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_1');
     485        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_2');
     486        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_3');
    487487    }
    488488
    489489    if ($prefix == 'ms') {
    490490        $tbl = 'c_message';
    491         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_1');
    492         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_2');
    493         _db_admin_empty_image_filename($tbl, $image_filename, 'image_filename_3');
     491        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_1');
     492        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_2');
     493        _db_admin_empty_filename($tbl, $image_filename, 'image_filename_3');
    494494    }
    495495}
Note: See TracChangeset for help on using the changeset viewer.