[patches] [fix] removed blog reload
This commit is contained in:
parent
45736cf2a9
commit
1d4b5b4ca6
@ -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()
|
|
@ -3,9 +3,7 @@ def execute():
|
|||||||
import webnotes
|
import webnotes
|
||||||
|
|
||||||
# sync doctypes required for the patch
|
# 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', 'web_page')
|
||||||
webnotes.reload_doc('website', 'doctype', 'blog')
|
|
||||||
webnotes.reload_doc('website', 'doctype', 'website_settings')
|
webnotes.reload_doc('website', 'doctype', 'website_settings')
|
||||||
webnotes.reload_doc('stock', 'doctype', 'item')
|
webnotes.reload_doc('stock', 'doctype', 'item')
|
||||||
|
|
||||||
|
@ -74,7 +74,6 @@ patch_list = [
|
|||||||
"patches.july_2012.auth_table",
|
"patches.july_2012.auth_table",
|
||||||
"patches.july_2012.remove_event_role_owner_match",
|
"patches.july_2012.remove_event_role_owner_match",
|
||||||
"patches.july_2012.deprecate_bulk_rename",
|
"patches.july_2012.deprecate_bulk_rename",
|
||||||
"patches.july_2012.blog_guest_permission",
|
|
||||||
"patches.july_2012.bin_permission",
|
"patches.july_2012.bin_permission",
|
||||||
"patches.july_2012.project_patch_repeat",
|
"patches.july_2012.project_patch_repeat",
|
||||||
"patches.july_2012.repost_stock_due_to_wrong_packing_list",
|
"patches.july_2012.repost_stock_due_to_wrong_packing_list",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user