diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/nconfig.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/util/nconfig.php b/util/nconfig.php index cb24b2151..a7cf350d0 100644 --- a/util/nconfig.php +++ b/util/nconfig.php @@ -2,7 +2,7 @@ <?php /** -* set channel email notifications utility +* switch off channel email notifications utility * This is a preliminary solution using the existing functions from include/channel.php. * More options would be nice. **/ @@ -19,7 +19,7 @@ cli_startup(); if($argc != 2) { - echo 'Usage: util/nconfig channel_id|channel_address off|on' . PHP_EOL; + echo 'Usage: util/nconfig channel_id|channel_address off' . PHP_EOL; exit(1); } @@ -39,9 +39,6 @@ cli_startup(); case 'off': $result = notifications_off($c['channel_id']); break; - case 'on': - $result = notifications_on($c['channel_id']); - break; default: echo 'Only on or off in lower cases are allowed' . PHP_EOL; exit(1); |