mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
[patches] [fix] removed blog reload
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
from __future__ import unicode_literals
|
||||
def execute():
|
||||
"""allocate read write permission to guest for doctype 'Blog'"""
|
||||
import webnotes
|
||||
webnotes.conn.sql("""delete from `tabDocPerm` where parent = 'Blog'""")
|
||||
|
||||
webnotes.conn.commit()
|
||||
|
||||
webnotes.reload_doc('website', 'doctype', 'blog')
|
||||
|
||||
webnotes.conn.begin()
|
||||
Reference in New Issue
Block a user