Changeset 1978 for trunk/admin.php


Ignore:
Timestamp:
Apr 26, 2007, 3:59:39 AM (17 years ago)
Author:
rvelices
Message:

invalidation of the users cache done in a function and an action is triggered

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r1952 r1978  
    155155
    156156$template->parse('admin');
    157 include(PHPWG_ROOT_PATH.'include/page_tail.php');
    158157
    159158// +-----------------------------------------------------------------------+
     
    180179  )
    181180{
    182   $query = '
    183 UPDATE '.USER_CACHE_TABLE.'
    184   SET need_update = \'true\'
    185 ;';
    186   pwg_query($query);
     181  invalidate_user_cache();
    187182}
    188183
     184include(PHPWG_ROOT_PATH.'include/page_tail.php');
    189185?>
Note: See TracChangeset for help on using the changeset viewer.