mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
conf migration
This commit is contained in:
@@ -39,7 +39,7 @@ def on_logout(login_manager):
|
||||
|
||||
def check_if_expired():
|
||||
"""check if account is expired. If expired, do not allow login"""
|
||||
import conf
|
||||
from webnotes import conf
|
||||
# check if expires_on is specified
|
||||
if not hasattr(conf, 'expires_on'): return
|
||||
|
||||
@@ -75,4 +75,4 @@ def comment_added(doc):
|
||||
"""add comment to feed"""
|
||||
home.make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by,
|
||||
'<i>"' + doc.comment + '"</i>', '#6B24B3')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user