mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:10:11 +00:00
Function renamed to better reflect the purpose
This commit is contained in:
parent
825a7f9f93
commit
a55057d974
4 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue