text -> content in newnotice

darcs-hash:20081004170136-5ed1f-4eca2ee2c7ebb7f2d3c6b49ecd634a8ceee28054.gz
This commit is contained in:
Evan Prodromou 2008-10-04 13:01:36 -04:00
parent f072147e4e
commit bdeba50c34

View File

@ -52,7 +52,7 @@ class NewnoticeAction extends Action {
$inter = new CommandInterpreter(); $inter = new CommandInterpreter();
$cmd = $inter->handle_command($user, $text); $cmd = $inter->handle_command($user, $content);
if ($cmd) { if ($cmd) {
$cmd->execute(new WebChannel()); $cmd->execute(new WebChannel());