mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 02:44:52 +00:00
moved directory structure
This commit is contained in:
8
patches/mar_2012/cleanup_control_panel.py
Normal file
8
patches/mar_2012/cleanup_control_panel.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
def execute():
|
||||
webnotes.conn.sql("""\
|
||||
DELETE FROM `tabSingles`
|
||||
WHERE doctype = 'Control Panel'
|
||||
AND field IN ("sync_with_gateway", "mail_password", "auto_email_id",
|
||||
"mail_port", "outgoing_mail_server", "mail_login", "use_ssl")""")
|
||||
Reference in New Issue
Block a user