mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
patch to remove old control panel email settings
This commit is contained in:
@@ -3,7 +3,7 @@ def execute():
|
|||||||
remove control panel email settings if automail.webnotestech.com
|
remove control panel email settings if automail.webnotestech.com
|
||||||
"""
|
"""
|
||||||
from webnotes.model.doc import Document
|
from webnotes.model.doc import Document
|
||||||
cp = Document('Control Panel')
|
cp = Document('Control Panel', 'Control Panel')
|
||||||
if cp:
|
if cp:
|
||||||
if cp.outgoing_mail_server == 'mail.webnotestech.com':
|
if cp.outgoing_mail_server == 'mail.webnotestech.com':
|
||||||
cp.outgoing_mail_server = None;
|
cp.outgoing_mail_server = None;
|
||||||
|
|||||||
Reference in New Issue
Block a user