Merge pull request #10664 from adityahase/fix-remove-from-installed-apps
fix: Bypass ORM for removing apps from installed_apps list
This commit is contained in:
commit
95e5cd97d2
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ def remove_from_installed_apps(app_name):
|
|||
installed_apps = frappe.get_installed_apps()
|
||||
if app_name in installed_apps:
|
||||
installed_apps.remove(app_name)
|
||||
frappe.db.set_global("installed_apps", json.dumps(installed_apps))
|
||||
frappe.db.set_value("DefaultValue", {"defkey": "installed_apps"}, "defvalue", json.dumps(installed_apps))
|
||||
frappe.db.commit()
|
||||
if frappe.flags.in_install:
|
||||
post_install()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue