From 7fa2ec40e18f7cffb6ba84e99c65201c6e399294 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 24 Oct 2013 20:47:35 +0530 Subject: [PATCH] Removed Update Manager --- patches/october_2013/p04_wsgi_migration.py | 5 ++++- setup/page/setup/setup.js | 2 +- setup/page/setup/setup.py | 2 -- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/patches/october_2013/p04_wsgi_migration.py b/patches/october_2013/p04_wsgi_migration.py index ca73516c25..d374f4ee17 100644 --- a/patches/october_2013/p04_wsgi_migration.py +++ b/patches/october_2013/p04_wsgi_migration.py @@ -27,4 +27,7 @@ def execute(): for file_path in (("js", "wn-web.js"), ("css", "wn-web.css")): file_path = os.path.join(base_path, "public", *file_path) if os.path.exists(file_path): - os.remove(file_path) \ No newline at end of file + os.remove(file_path) + + # Remove update app page + webnotes.delete_doc("Page", "update-manager") diff --git a/setup/page/setup/setup.js b/setup/page/setup/setup.js index 0127a2a3f0..ed55eb5ca9 100644 --- a/setup/page/setup/setup.js +++ b/setup/page/setup/setup.js @@ -180,7 +180,7 @@ wn.pages.Setup.make = function(wrapper) { if(r.message) { body.empty(); if(wn.boot.expires_on) { - $(body).prepend("
"+wn.("Account expires on") + $(body).prepend("
"+wn._("Account expires on") + wn.datetime.global_date_format(wn.boot.expires_on) + "
"); } diff --git a/setup/page/setup/setup.py b/setup/page/setup/setup.py index 1569ef00da..caa32efa1d 100644 --- a/setup/page/setup/setup.py +++ b/setup/page/setup/setup.py @@ -226,8 +226,6 @@ items = [ "title": "System Administration", "icon": "icon-cog" }, - { "title": "Update ERPNext", - "route": "update-manager", "type": "Link", "icon": "icon-rss" }, { "title": "Manage 3rd Party Backups", "route": "Form/Backup Manager", "type": "Link", "icon": "icon-cloud" }, { "title": "System Scheduler Errors",