mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
Removed cloud subscription logic
This commit is contained in:
@@ -29,12 +29,6 @@ def boot_session(bootinfo):
|
||||
bootinfo['setup_complete'] = frappe.db.sql("""select name from
|
||||
tabCompany limit 1""") and 'Yes' or 'No'
|
||||
|
||||
|
||||
# load subscription info
|
||||
from frappe import conf
|
||||
for key in ['max_users', 'expires_on', 'max_space', 'status', 'commercial_support']:
|
||||
if key in conf: bootinfo[key] = conf.get(key)
|
||||
|
||||
bootinfo['docs'] += frappe.db.sql("""select name, default_currency, cost_center
|
||||
from `tabCompany`""", as_dict=1, update={"doctype":":Company"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user