diff options
author | Rik Meijer <rik@pulledbits.org> | 2019-04-09 09:12:29 +0200 |
---|---|---|
committer | Rik Meijer <rik@pulledbits.org> | 2019-04-10 16:27:52 +0200 |
commit | 0a9bd1fd6188c99ad83ee6a83c3e0a896d8a42f8 (patch) | |
tree | c05874dbc78e3a35fb64d465898d4f54331486fd /lib | |
parent | c870e56424e17999c005da96fc801744beb8d2e6 (diff) |
Update DeleteInterface.php
Fix warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Interfaces/Activity/DeleteInterface.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Interfaces/Activity/DeleteInterface.php b/lib/Interfaces/Activity/DeleteInterface.php index 0860239e..9b631f4d 100644 --- a/lib/Interfaces/Activity/DeleteInterface.php +++ b/lib/Interfaces/Activity/DeleteInterface.php @@ -73,7 +73,7 @@ class DeleteInterface implements IActivityPubInterface { foreach ($types as $type) { try { $item->checkOrigin($item->getObjectId()); - $interface = AP::$activityPub->getInterfaceForItem($type); + $interface = AP::$activityPub->getInterfaceFromType($type); $object = $interface->getItemById($item->getObjectId()); $interface->delete($object); |