Removed cloud subscription logic

This commit is contained in:
Anand Doshi
2014-03-14 15:24:24 +05:30
parent 9d1e8640ef
commit 2134d24b36
5 changed files with 2 additions and 74 deletions

View File

@@ -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"})