Private
Public Access
1
0

Merge branch 'hotfix/v4.26'

This commit is contained in:
Sander Roosendaal
2017-10-15 08:44:59 +02:00

View File

@@ -139,10 +139,12 @@ class Command(BaseCommand):
except:
pass
try:
a.delete()
except IOError:
pass
# remove attachment
if donotdelete == 0:
a.delete()
#if donotdelete == 0:
if m.attachments.exists()==False:
# no attachments, so can be deleted