[patches] [fix] removed blog reload

This commit is contained in:
Anand Doshi
2013-05-16 15:35:08 +05:30
parent 45736cf2a9
commit 1d4b5b4ca6
3 changed files with 0 additions and 14 deletions

View File

@@ -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()