Moving Model call outside Object Namespace

This commit is contained in:
Philipp Holzer 2019-03-01 13:09:40 +01:00
parent 1fa8adcd66
commit e0a09149ba
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -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);
}
}