Skip to content

Commit 9ff7c22

Browse files
author
RedEnchilada
committed
Remove that fucking command interpreter from the web UI
1 parent 59f3111 commit 9ff7c22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actions/newnotice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function saveNewNotice()
140140
$this->clientError(_('No content!'));
141141
return;
142142
}
143-
143+
/* Nobody ever uses these dumb things and it just confuses people. -Red
144144
$inter = new CommandInterpreter();
145145
146146
$cmd = $inter->handle_command($user, $content);
@@ -152,7 +152,7 @@ function saveNewNotice()
152152
$cmd->execute(new WebChannel($this));
153153
}
154154
return;
155-
}
155+
}*/
156156

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

0 commit comments

Comments
 (0)