Function renamed to better reflect the purpose

This commit is contained in:
Michael 2020-03-05 08:03:05 +00:00
commit a55057d974
4 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ function subthread_content(App $a)
$item_id = (($a->argc > 1) ? Strings::escapeTags(trim($a->argv[1])) : 0);
if (!Item::performLike($item_id, 'follow')) {
if (!Item::performActivity($item_id, 'follow')) {
Logger::info('Following item failed', ['item' => $item_id]);
throw new HTTPException\BadRequestException();
}