Makes sure we remove php pool dirs on share delete

This commit is contained in:
Daniel Berteaud 2017-07-08 12:06:14 +02:00
parent 9649dd4222
commit 12527c1508
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ die "$pool not found in the account database\n" unless $acc;
my $dyn = $acc->prop('DynamicContent') || 'disabled';
if ($acc =~ m/^enabled|on|1|yes$/){
if ($acc =~ m/^enabled|on|1|yes$/ && $event ne 'share-delete'){
make_path( qw( /var/log/php/$pool
/var/lib/php/$pool/session
/var/lib/php/$pool/wsdlcache