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

Changeset 8646


Ignore:
Timestamp:
Oct 9, 2008, 8:55:56 PM (11 years ago)
Author:
masabon
Message:

#2791:日記コメント履歴とマイフレ日記の誤差のバグを修正

Location:
OpenPNE/branches/stable-2.10.x/webapp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.10.x/webapp/lib/util/cache.php

    r5303 r8646  
    235235    pne_cache_drop('db_bookmark_member_list', $c_member_id, 9);
    236236}
     237
     238function cache_drop_c_diary($target_c_member_id, $u)
     239{
     240    $target_c_member_id = (int)$target_c_member_id;
     241    $u = (int)$u;
     242    pne_cache_drop('db_diary_get_c_diary_list4c_member_id', $target_c_member_id, 5, $u);
     243    pne_cache_drop('p_h_home_c_diary_friend_list4c_member_id', $u, 5);  //最新日記フィード
     244    $target_c_member_id = (string)$target_c_member_id;
     245    $u = (string)$u;
     246    pne_cache_drop('db_diary_get_c_diary_list4c_member_id', $target_c_member_id, 5, $u);
     247    pne_cache_drop('p_h_home_c_diary_friend_list4c_member_id', $u, 5);  //最新日記フィード
     248    $target_c_member_id = (int)$target_c_member_id;
     249    $u = (string)$u;
     250    pne_cache_drop('db_diary_get_c_diary_list4c_member_id', $target_c_member_id, 5, $u);
     251    $target_c_member_id = (string)$target_c_member_id;
     252    $u = (int)$u;
     253    pne_cache_drop('db_diary_get_c_diary_list4c_member_id', $target_c_member_id, 5, $u);
     254}
    237255?>
  • OpenPNE/branches/stable-2.10.x/webapp/modules/pc/do/fh_diary_insert_c_diary_comment.php

    r2951 r8646  
    7272        }
    7373
     74        cache_drop_c_diary($target_c_member_id, $u);
     75
    7476        $p = array(
    7577            'target_c_diary_id' => $target_c_diary_id,
Note: See TracChangeset for help on using the changeset viewer.