From e0a09149babf9ad1596e3f707521620e0a11c957 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Fri, 1 Mar 2019 13:09:40 +0100 Subject: [PATCH] Moving Model call outside Object Namespace --- fromgplus/fromgplus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index 4e0de3f9..42121485 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -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); } }