Function renamed to better reflect the purpose

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

View file

@ -50,7 +50,7 @@ class Like extends BaseModule
// @TODO: Replace with parameter from router
$itemId = (($app->argc > 1) ? Strings::escapeTags(trim($app->argv[1])) : 0);
if (!Item::performLike($itemId, $verb)) {
if (!Item::performActivity($itemId, $verb)) {
throw new HTTPException\BadRequestException();
}