]> git.mxchange.org Git - friendica-addons.git/commitdiff
Some includes hadn't been removed
authorMichael <heluecht@pirati.ca>
Fri, 1 Dec 2017 22:37:46 +0000 (22:37 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 1 Dec 2017 22:37:46 +0000 (22:37 +0000)
fromgplus/fromgplus.php
pumpio/pumpio.php
twitter/twitter.php

index f66042075e61213e3fa409a94373c2ff235a803d..1a1ae682cfee3d8d4937a6df98b0d4ebe6c8d36a 100644 (file)
@@ -309,7 +309,6 @@ function fromgplus_cleantext($text) {
 }
 
 function fromgplus_handleattachments($a, $uid, $item, $displaytext, $shared) {
-       require_once("include/Photo.php");
        require_once("include/items.php");
        require_once("include/network.php");
 
index 9cf2461fe7dc4cd4c62569dec370a7ff3e849b0f..96883826521d1e31b120be2c9dfa0903297a520e 100644 (file)
@@ -14,7 +14,6 @@ use Friendica\Object\Contact;
 require 'addon/pumpio/oauth/http.php';
 require 'addon/pumpio/oauth/oauth_client.php';
 require_once 'include/enotify.php';
-require_once "include/Photo.php";
 require_once "mod/share.php";
 
 define('PUMPIO_DEFAULT_POLL_INTERVAL', 5); // given in minutes
index de0ba71ac492b65d5705e6e239d03fef423485d1..e38ea8a7e0cb0afa9bdce5ce24ebbdc01bbc2ff9 100644 (file)
@@ -947,8 +947,6 @@ function twitter_queue_hook(&$a,&$b) {
 }
 
 function twitter_fix_avatar($avatar) {
-       require_once("include/Photo.php");
-
        $new_avatar = str_replace("_normal.", ".", $avatar);
 
        $info = Photo::getInfoFromURL($new_avatar);