brotherton-erpnext/erpnext/patches/july_2012/deprecate_import_data_control.py

11 lines
277 B
Python

from __future__ import unicode_literals
def execute():
"""
deprecate:
* doctype - import data control
* page - import data (old)
"""
import webnotes
from webnotes.model import delete_doc
delete_doc('DocType', 'Import Data Control')
delete_doc('Page', 'Import Data')