From: Marius Gavrilescu Date: Sun, 16 Jun 2013 19:32:27 +0000 (+0300) Subject: Remove the SHUTDOWN command X-Git-Tag: 0.000_001~34 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=69c998d1b1681ca92a36f8a5134e74b2b807a091;p=fonbot.git Remove the SHUTDOWN command --- diff --git a/src/ro/ieval/fonbot/Heavy.java b/src/ro/ieval/fonbot/Heavy.java index 2e379e0..3af6bc4 100644 --- a/src/ro/ieval/fonbot/Heavy.java +++ b/src/ro/ieval/fonbot/Heavy.java @@ -461,9 +461,6 @@ final class Heavy { case REBOOT: Utils.sendMessage(context, replyTo, reboot_help); break; - case SHUTDOWN: - Utils.sendMessage(context, replyTo, shutdown_help); - break; case NOTIFY: Utils.sendMessage(context, replyTo, notify_help); } diff --git a/src/ro/ieval/fonbot/Utils.java b/src/ro/ieval/fonbot/Utils.java index 849848b..38c3464 100644 --- a/src/ro/ieval/fonbot/Utils.java +++ b/src/ro/ieval/fonbot/Utils.java @@ -86,7 +86,7 @@ public final class Utils { NEXT, PREV, BATT, CALLLOG, SMSLOG, LS, RM, CONTACTS, DISABLE, ENABLE, POLL, HANGUP, ANSWER, LAUNCH, DATA, - GPS, GLOCATION, REBOOT, SHUTDOWN, NOTIFY + GPS, GLOCATION, REBOOT, NOTIFY } /** @@ -1003,10 +1003,6 @@ public final class Utils { Heavy.reboot(context, replyTo, args.length==0?null:args[0]); break; - case SHUTDOWN: - //TODO: implement command - break; - case NOTIFY: if(args.length!=1 && args.length!=3){ Heavy.help(context, replyTo, toNonNull(Command.NOTIFY));