From 0356a785737dcd2f4cc991f623b08e18dab4ddb0 Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 4 Oct 2017 18:11:40 +0200 Subject: [PATCH] [fix] Dead code --- src/js/yunohost/controllers/tools.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/js/yunohost/controllers/tools.js b/src/js/yunohost/controllers/tools.js index 25a08500..1909ced0 100644 --- a/src/js/yunohost/controllers/tools.js +++ b/src/js/yunohost/controllers/tools.js @@ -213,11 +213,6 @@ c.redirect('#/tools/reboot'); } }); - app.get('#/tools/reboot/:action/done', function (c) { - var action = c.params['action'].toLowerCase(); - if (action == 'reboot' || action == 'shutdown') { - } - }); // Diagnosis app.get('#/tools/diagnosis(/:private)?', function (c) {