3 class SearchSubTrackingCommand extends Command
5 function handle($channel)
8 $all = new SearchSub();
9 $all->profile_id = $cur->id;
13 // TRANS: Error text shown a user tries to disable all a search subscriptions with track off command, but has none.
14 $channel->error($cur, _m('You are not tracking any searches.'));
19 while ($all->fetch()) {
20 $list[] = $all->search;
23 // TRANS: Message given having disabled all search subscriptions with 'track off'.
24 $channel->output($cur, sprintf(_m('You are tracking searches for: %s'),
25 '"' . implode('", "', $list) . '"'));