mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-16 05:19:02 +00:00
Moving Model call outside Object Namespace
This commit is contained in:
parent
1fa8adcd66
commit
e0a09149ba
1 changed files with 2 additions and 2 deletions
|
@ -362,9 +362,9 @@ function fromgplus_handleattachments($a, $uid, $item, $displaytext, $shared) {
|
|||
$images = fromgplus_cleanupgoogleproxy($attachment->fullImage, $attachment->image);
|
||||
} else {
|
||||
if ($attachment->fullImage->url != "") {
|
||||
$images = Photo::storePhoto($a, $uid, "", $attachment->fullImage->url);
|
||||
$images = Photo::storeByData($uid, "", $attachment->fullImage->url);
|
||||
} elseif ($attachment->image->url != "") {
|
||||
$images = Photo::storePhoto($a, $uid, "", $attachment->image->url);
|
||||
$images = Photo::storeByData($uid, "", $attachment->image->url);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue