Ignore:
Timestamp:
06/14/14 10:14:59 (5 years ago)
Author:
mistic100
Message:

on batch manager global move "invalidate_user_cache" AFTER database updates (SmartAlbums compatibility)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_global.php

    r28587 r28700  
    8787 
    8888  $action = $_POST['selectAction']; 
    89  
    90   if (!in_array($action, array('remove_from_caddie','add_to_caddie','delete_derivatives','generate_derivatives'))) 
    91   { 
    92     invalidate_user_cache(); 
    93   } 
    9489 
    9590  if ('remove_from_caddie' == $action) 
     
    405400  } 
    406401 
     402  if (!in_array($action, array('remove_from_caddie','add_to_caddie','delete_derivatives','generate_derivatives'))) 
     403  { 
     404    invalidate_user_cache(); 
     405  } 
     406 
    407407  trigger_notify('element_set_global_action', $action, $collection); 
    408408} 
Note: See TracChangeset for help on using the changeset viewer.