feat: remove website settings from boot (#21801)

This commit is contained in:
Shivam Mishra
2020-05-20 16:17:12 +05:30
committed by GitHub
parent ab250e4ed5
commit e091789332

View File

@@ -10,7 +10,6 @@ def boot_session(bootinfo):
"""boot session - send website info if guest"""
bootinfo.custom_css = frappe.db.get_value('Style Settings', None, 'custom_css') or ''
bootinfo.website_settings = frappe.get_doc('Website Settings')
if frappe.session['user']!='Guest':
update_page_info(bootinfo)