Do not remove the locales cache on webapps-update event, instead, it'll be flushed during the upgrade of the pydio rpm

tags/0.2.2_el5
Daniel Berteaud 11 years ago
parent e28ea77432
commit 98a3ecb240
  1. 3
      root/etc/e-smith/events/actions/pydio-user-rights

@ -34,9 +34,8 @@ my $domain = $c->get('DomainName')->value;
# Remove active sessions # Remove active sessions
unlink(</var/lib/pydio/tmp/sess_*>); unlink(</var/lib/pydio/tmp/sess_*>);
# Remove plugin and i18n cache # Remove plugin cache
unlink(</var/cache/pydio/plugin*.ser>); unlink(</var/cache/pydio/plugin*.ser>);
unlink(</var/cache/pydio/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