&$supported in CommandSupportedAPI event is boolean

not array as we specified here
This commit is contained in:
Mikael Nordfeldth 2014-11-07 16:13:45 +01:00
parent 38d9b4d3a4
commit 6ac2a5b8ff
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ class FavoritePlugin extends ActivityHandlerPlugin
/** /**
* Are we allowed to perform a certain command over the API? * 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; $supported = $supported || $cmd instanceof FavCommand;
} }