Changeset 9585


Ignore:
Timestamp:
Mar 9, 2011, 2:18:00 PM (13 years ago)
Author:
plg
Message:

force refresh of all community user permissions cache each time the plugin is activated (it includes plugin updates)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/maintain.inc.php

    r9583 r9585  
    121121    community_create_default_permission();
    122122  }
     123
     124  include_once(dirname(__FILE__).'/include/functions_community.inc.php');
     125  community_update_cache_key();
    123126}
    124127
     
    327330
    328331  mass_inserts($prefixeTable.'community_permissions', array_keys($insert), array($insert));
    329 
    330   include_once(dirname(__FILE__).'/include/functions_community.inc.php');
    331   community_update_cache_key();
    332332}
    333333?>
Note: See TracChangeset for help on using the changeset viewer.