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

View File

@ -3,9 +3,7 @@ def execute():
import webnotes
# sync doctypes required for the patch
webnotes.reload_doc('website', 'doctype', 'web_cache')
webnotes.reload_doc('website', 'doctype', 'web_page')
webnotes.reload_doc('website', 'doctype', 'blog')
webnotes.reload_doc('website', 'doctype', 'website_settings')
webnotes.reload_doc('stock', 'doctype', 'item')

View File

@ -74,7 +74,6 @@ patch_list = [
"patches.july_2012.auth_table",
"patches.july_2012.remove_event_role_owner_match",
"patches.july_2012.deprecate_bulk_rename",
"patches.july_2012.blog_guest_permission",
"patches.july_2012.bin_permission",
"patches.july_2012.project_patch_repeat",
"patches.july_2012.repost_stock_due_to_wrong_packing_list",