Merge pull request #459 from annando/bugfix-photo
Some includes hadn't been removed
This commit is contained in:
commit
3a1b172d08
|
@ -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");
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user