Merge pull request #1117 from nabinhait/develop
ignore share permissions while deleting shared doc via delete_doc
This commit is contained in:
commit
3f2720d23c
1 changed files with 1 additions and 1 deletions
|
|
@ -203,4 +203,4 @@ def insert_feed(doc):
|
|||
|
||||
def delete_shared(doc):
|
||||
delete_doc("DocShare", frappe.db.sql_list("""select name from `tabDocShare`
|
||||
where share_doctype=%s and share_name=%s""", (doc.doctype, doc.name)))
|
||||
where share_doctype=%s and share_name=%s""", (doc.doctype, doc.name)), ignore_on_trash=True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue