]> git.mxchange.org Git - friendica-addons.git/commitdiff
[pumpio] Remove references to include/items.php
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 14 Jul 2020 14:22:01 +0000 (10:22 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 14 Jul 2020 14:22:01 +0000 (10:22 -0400)
pumpio/pumpio.php

index 87e3344d0c30d4fbbe419cbf30dd99d12b054d14..567f64c8dedd2d291edd68ad379cd0c557304ac6 100644 (file)
@@ -925,8 +925,6 @@ function pumpio_dounlike(App $a, $uid, $self, $post, $own_id)
 
 function pumpio_dolike(App $a, $uid, $self, $post, $own_id, $threadcompletion = true)
 {
-       require_once('include/items.php');
-
        if (empty($post->object->id)) {
                Logger::log('Got empty like: '.print_r($post, true), Logger::DEBUG);
                return;
@@ -1096,8 +1094,6 @@ function pumpio_dodelete(App $a, $uid, $self, $post, $own_id)
 
 function pumpio_dopost(App $a, $client, $uid, $self, $post, $own_id, $threadcompletion = true)
 {
-       require_once('include/items.php');
-
        if (($post->verb == "like") || ($post->verb == "favorite")) {
                return pumpio_dolike($a, $uid, $self, $post, $own_id);
        }