From: Michael Date: Fri, 1 Dec 2017 22:37:46 +0000 (+0000) Subject: Some includes hadn't been removed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e8975125cf1eee6f2a98aa8838176a746088c32d;p=friendica-addons.git Some includes hadn't been removed --- diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index f6604207..1a1ae682 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -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"); diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 9cf2461f..96883826 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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 diff --git a/twitter/twitter.php b/twitter/twitter.php index de0ba71a..e38ea8a7 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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);