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

Changeset 939


Ignore:
Timestamp:
Nov 29, 2006, 2:08:31 AM (13 years ago)
Author:
takanashi
Message:

r918/r919取り込み(あしあとメールの数値設定不具合/管理画面のプロフィール設定不具合)

Location:
OpenPNE/trunk/webapp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/db/member.php

    r924 r939  
    2121        $is_recurred = true;
    2222        $funcargs = func_get_args();
    23         return pne_cache_recursive_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, __FUNCTION__, $funcargs);
     23        return pne_cache_recursive_call(OPENPNE_FUNCTION_CACHE_LIFETIME_FAST, __FUNCTION__, $funcargs);
    2424    }
    2525
     
    10181018                $is_shinobiashi)
    10191019{
     1020    //function cacheの削除
     1021    cache_drop_c_member_profile($c_member_id);
     1022   
    10201023    $data = array(
    10211024        'is_receive_mail' => (bool)$is_receive_mail,
  • OpenPNE/trunk/webapp/modules/admin/lib/db_admin.php

    r882 r939  
    7575function db_admin_delete_c_profile_option($c_profile_option_id)
    7676{
     77    //function cache削除
     78    pne_cache_drop('db_member_c_profile_list');
     79
    7780    if (!$c_profile_option_id) {
    7881        return false;
    7982    }
     83
    8084    $sql = 'DELETE FROM c_member_profile WHERE c_profile_option_id = ?';
    8185    $params = array(intval($c_profile_option_id));
     
    9094function db_admin_insert_c_profile_option($c_profile_id, $value, $sort_order)
    9195{
     96    //function cache削除
     97    pne_cache_drop('db_member_c_profile_list');
     98
    9299    $data = array(
    93100        'c_profile_id' => intval($c_profile_id),
     
    100107function db_admin_update_c_profile_option($c_profile_option_id, $value, $sort_order)
    101108{
     109    //function cache削除
     110    pne_cache_drop('db_member_c_profile_list');
     111
    102112    $data = array('value' => $value);
    103113    $where = array('c_profile_option_id' => intval($c_profile_option_id));
Note: See TracChangeset for help on using the changeset viewer.