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:
Mikael Nordfeldth 2014-11-07 16:23:47 +01:00
parent 046d070ad4
commit aedfb6a8dd
1 changed files with 1 additions and 1 deletions

View File

@ -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 {