Skip to content

Commit

Permalink
Remove that fucking command interpreter from the web UI
Browse files Browse the repository at this point in the history
  • Loading branch information
RedEnchilada committed Feb 15, 2015
1 parent 59f3111 commit 9ff7c22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/newnotice.php
Expand Up @@ -140,7 +140,7 @@ function saveNewNotice()
$this->clientError(_('No content!'));
return;
}

/* Nobody ever uses these dumb things and it just confuses people. -Red
$inter = new CommandInterpreter();
$cmd = $inter->handle_command($user, $content);
Expand All @@ -152,7 +152,7 @@ function saveNewNotice()
$cmd->execute(new WebChannel($this));
}
return;
}
}*/

$content_shortened = $user->shortenLinks($content);
if (Notice::contentTooLong($content_shortened)) {
Expand Down

0 comments on commit 9ff7c22

Please sign in to comment.