Changeset 16353


Ignore:
Timestamp:
07/05/12 15:40:54 (7 years ago)
Author:
icy
Message:

Renenerate cache after some special tasks. Thanks to :plg.

See also http://piwigo.org/forum/viewtopic.php?pid=126718#p126718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Icy_Picture_Modify/icy_picture_modify.php

    r12818 r16353  
    137137  delete_elements(array($_GET['image_id']), true); 
    138138 
     139  invalidate_user_cache(); 
     140 
    139141  // where to redirect the user now? 
    140142  // 
     
    279281    array_intersect($_POST['cat_dissociated'], $my_categories) 
    280282    ); 
     283  invalidate_user_cache(); 
    281284} 
    282285 
     
    298301 
    299302  update_category($arr_dissociate); 
     303  invalidate_user_cache(); 
    300304} 
    301305 
     
    324328                    'update' => array('representative_picture_id')); 
    325329    mass_updates(CATEGORIES_TABLE, $fields, $datas); 
     330    invalidate_user_cache(); 
    326331  } 
    327332} 
     
    338343  { 
    339344    set_random_representant($arr_dismiss); 
     345    invalidate_user_cache(); 
    340346  } 
    341347} 
Note: See TracChangeset for help on using the changeset viewer.