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

Changeset 2469


Ignore:
Timestamp:
Apr 6, 2007, 5:08:45 PM (12 years ago)
Author:
takanashi
Message:

#537 コミュニティ関連情報更新時、コミュニティ参加者全員のコミュニティに関連関連したfunction cacheを削除するように

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/develop/2_8RC2/webapp/lib/util/cache.php

    r2091 r2469  
    121121    $c_commu_bbs_list = array_merge($c_commu_topic_list, $c_commu_event_list);
    122122
    123     foreach ($c_commu_bbs_list as $c_commu_topic_id)
    124     {
     123    foreach ($c_commu_bbs_list as $c_commu_topic_id) {
    125124        $c_commu_topic_id = (int)$c_commu_topic_id;
    126125        cache_drop_c_commu_topic($c_commu_topic_id);
    127126        $c_commu_topic_id = (string)$c_commu_topic_id;
    128127        cache_drop_c_commu_topic($c_commu_topic_id);
     128    }
     129
     130    $c_commu_member_list = db_commu_c_commu_member_list4c_commu_id($c_commu_id);
     131    foreach ($c_commu_member_list as $c_member_id) {
     132        cache_drop_c_commu_list4c_member_id($c_member_id);
    129133    }
    130134}
Note: See TracChangeset for help on using the changeset viewer.