minor fix
This commit is contained in:
parent
737d81e45d
commit
baea1f6d41
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ def delete_doc(doctype=None, name=None, force=0, ignore_doctypes=None, for_reloa
|
|||
if "DocShare" in dynamic_linked_doctypes:
|
||||
delete_shared(doc)
|
||||
|
||||
if "Email Unsubscribe":
|
||||
if "Email Unsubscribe" in dynamic_linked_doctypes:
|
||||
delete_email_subscribe(doc)
|
||||
|
||||
# check if links exist
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue