From 6ac2a5b8ffb440a6654cab3d82a2e8bece4cd0bb Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 7 Nov 2014 16:13:45 +0100 Subject: [PATCH] &$supported in CommandSupportedAPI event is boolean not array as we specified here --- 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 9f2618d582..d06153965e 100644 --- a/plugins/Favorite/FavoritePlugin.php +++ b/plugins/Favorite/FavoritePlugin.php @@ -416,7 +416,7 @@ class FavoritePlugin extends ActivityHandlerPlugin /** * Are we allowed to perform a certain command over the API? */ - public function onCommandSupportedAPI(Command $cmd, array &$supported) + public function onCommandSupportedAPI(Command $cmd, &$supported) { $supported = $supported || $cmd instanceof FavCommand; } -- 2.39.5