]> iEval git - fonbot.git/commitdiff
Remove the SHUTDOWN command
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 16 Jun 2013 19:32:27 +0000 (22:32 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 16 Jun 2013 19:32:27 +0000 (22:32 +0300)
src/ro/ieval/fonbot/Heavy.java
src/ro/ieval/fonbot/Utils.java

index 2e379e0facc570f95078b5062bb60847a98cc5e8..3af6bc463e6da2b1e236048c7a67ba4360213ff3 100644 (file)
@@ -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);
                }
index 849848bd592133f731cb8629d31ee29198d1aad8..38c34644c8962bfca1f72f8de4644b307314d8aa 100644 (file)
@@ -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));
This page took 0.0301 seconds and 4 git commands to generate.