Function renamed to better reflect the purpose
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user