forked from GNUsocial/gnu-social
initialize command interpretation result to false
This commit is contained in:
parent
7e388e697d
commit
2bf0ec719d
@ -36,6 +36,7 @@ class CommandInterpreter
|
|||||||
// StatusNet
|
// StatusNet
|
||||||
|
|
||||||
$cmd = strtolower($cmd);
|
$cmd = strtolower($cmd);
|
||||||
|
$result = false;
|
||||||
|
|
||||||
if (Event::handle('StartInterpretCommand', array($cmd, $arg, $user, &$result))) {
|
if (Event::handle('StartInterpretCommand', array($cmd, $arg, $user, &$result))) {
|
||||||
switch($cmd) {
|
switch($cmd) {
|
||||||
|
Loading…
Reference in New Issue
Block a user