mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
conf migration
This commit is contained in:
@@ -32,7 +32,7 @@ def boot_session(bootinfo):
|
||||
|
||||
|
||||
# load subscription info
|
||||
import conf
|
||||
from webnotes import conf
|
||||
for key in ['max_users', 'expires_on', 'max_space', 'status', 'commercial_support']:
|
||||
if hasattr(conf, key): bootinfo[key] = getattr(conf, key)
|
||||
|
||||
@@ -53,4 +53,4 @@ def get_letter_heads():
|
||||
ret = webnotes.conn.sql("""select name, content from `tabLetter Head`
|
||||
where ifnull(disabled,0)=0""")
|
||||
return dict(ret)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user