Purge i18n cache

tags/0.1.7
Daniel Berteaud 12 years ago
parent 887e846387
commit 1514276966
  1. 3
      root/etc/e-smith/events/actions/ajaxplorer-user-rights

@ -34,8 +34,9 @@ unlink(</var/lib/ajaxplorer/plugins/auth.serial/*/rights.ser>);
# Remove active sessions # Remove active sessions
unlink(</var/lib/ajaxplorer/tmp/sess_*>); unlink(</var/lib/ajaxplorer/tmp/sess_*>);
# Remove plugin cache # Remove plugin and i18n cache
unlink(</var/cache/ajaxplorer/plugin*.ser>); unlink(</var/cache/ajaxplorer/plugin*.ser>);
unlink(</var/cache/ajaxplorer/i18n/*.ser>);
foreach my $user (($a->users),$a->get('admin')){ foreach my $user (($a->users),$a->get('admin')){
my $name = $user->key; my $name = $user->key;

Loading…
Cancel
Save