FavoritePlugin calls CommandInterpreter::split_arg
The last commit found a bug that a previous move of the FavCommand into a plugin called $this in FavoritePlugin instead of the instance of a CommandInterpreter class. Now that call is statically defined in CommandInterpreter and appropriately called in FavoritePlugin.
This commit is contained in:
parent
046d070ad4
commit
aedfb6a8dd
@ -393,7 +393,7 @@ class FavoritePlugin extends ActivityHandlerPlugin
|
||||
if (empty($arg)) {
|
||||
$result = null;
|
||||
} else {
|
||||
list($other, $extra) = $this->split_arg($arg);
|
||||
list($other, $extra) = CommandInterpreter::split_arg($arg);
|
||||
if (!empty($extra)) {
|
||||
$result = null;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user