Ignore:
Timestamp:
Jun 14, 2011, 6:41:10 PM (13 years ago)
Author:
mistic100
Message:

Add event_handler on 'login_success' and 'invalidate_user_cache' to regenerate SmartAlbums content

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/include/init_cat_list.php

    r11334 r11376  
    99{
    1010  global $template, $page, $smart_count;
    11   include_once(SMART_PATH.'include/functions.inc.php');
     11
    1212  $self_url = get_root_url().'admin.php?page=cat_list'.(isset($_GET['parent_id']) ? '&parent_id='.$_GET['parent_id'] : null);
    1313 
     
    7070    }
    7171   
    72     invalidate_user_cache(true);
     72    define('SMART_NOT_UPDATE', 1);
     73    invalidate_user_cache();
    7374  }
    7475 
Note: See TracChangeset for help on using the changeset viewer.