Files
enlight-lms/lms/patches/v0_0/rename_school_to_lms.py
2022-11-04 11:47:09 +05:30

10 lines
237 B
Python

import frappe
from frappe.installer import add_to_installed_apps, remove_from_installed_apps
def execute():
if "school" in frappe.db.get_global("installed_apps"):
remove_from_installed_apps("school")
add_to_installed_apps("lms")