feat: remove website settings from boot (#21801) (#21809)

(cherry picked from commit e091789332)

Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2020-05-20 18:24:05 +05:30
committed by GitHub
parent ee56de3091
commit c75303b0ab

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)