diff --git a/lib/Db/CacheActorsRequest.php b/lib/Db/CacheActorsRequest.php index 416fe1c8..8f5bda80 100644 --- a/lib/Db/CacheActorsRequest.php +++ b/lib/Db/CacheActorsRequest.php @@ -301,13 +301,12 @@ class CacheActorsRequest extends CacheActorsRequestBuilder { * * @param string $id */ - public function deleteFromId(string $id) { + public function deleteCacheById(string $id) { $qb = $this->getCacheActorsDeleteSql(); $this->limitToIdString($qb, $id); $qb->execute(); } - } diff --git a/lib/Interfaces/Actor/PersonInterface.php b/lib/Interfaces/Actor/PersonInterface.php index 9a0f1c68..f37aa450 100644 --- a/lib/Interfaces/Actor/PersonInterface.php +++ b/lib/Interfaces/Actor/PersonInterface.php @@ -185,7 +185,7 @@ class PersonInterface implements IActivityPubInterface { */ public function delete(ACore $item) { /** @var Person $item */ - $this->cacheActorsRequest->deleteFromId($item->getId()); + $this->cacheActorsRequest->deleteCacheById($item->getId()); $this->streamRequest->deleteByAuthor($item->getId()); $this->followsRequest->deleteRelatedId($item->getId()); }