From aedfb6a8dd2ae1c01a1bf9cbde2b7bfb60006973 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 7 Nov 2014 16:23:47 +0100 Subject: [PATCH] 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. --- plugins/Favorite/FavoritePlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Favorite/FavoritePlugin.php b/plugins/Favorite/FavoritePlugin.php index d06153965e..a9a95f80cc 100644 --- a/plugins/Favorite/FavoritePlugin.php +++ b/plugins/Favorite/FavoritePlugin.php @@ -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 { -- 2.39.5