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

Changeset 751


Ignore:
Timestamp:
Nov 17, 2006, 11:57:53 AM (14 years ago)
Author:
ogawa
Message:

メンバー情報のfunction cacheの削除でフラグ引数付きのものを全て削除するよう修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/util/cache.php

    r669 r751  
    146146/**
    147147 * プロフィール取得のfunction cacheを削除する
     148 * 旧関数名を呼んでいる限り引数の省略はないのでこれで暫定的な対応とする
    148149 */
    149150function cache_drop_c_member_profile($c_member_id)
    150151{
    151     pne_cache_drop(db_member_c_member4c_member_id, $c_member_id);
     152    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id);
     153    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, false, false, 'public');
     154    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, false, false, 'friend');
     155    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, false, false, 'private');
     156    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, false, true, 'public');
     157    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, false, true, 'friend');
     158    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, false, true, 'private');
     159    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, true, false, 'public');
     160    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, true, false, 'friend');
     161    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, true, false, 'private');
     162    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, true, true, 'public');
     163    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, true, true, 'friend');
     164    pne_cache_drop('db_member_c_member4c_member_id', $c_member_id, true, true, 'private');
    152165    pne_cache_drop('db_member_c_profile_list');
    153166}
Note: See TracChangeset for help on using the changeset viewer.