From 6cc60ba477c1634b2ba6d78495d35cbf306988e1 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 1 Sep 2015 22:03:10 -0700 Subject: initial work on obj import, rename import_profile_photo to import_xchan_photo to more accurately state its purpose. --- mod/thing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/thing.php') diff --git a/mod/thing.php b/mod/thing.php index 78fbf396c..86712d9eb 100644 --- a/mod/thing.php +++ b/mod/thing.php @@ -88,7 +88,7 @@ function thing_init(&$a) { } $orig_record = $t[0]; if($photo != $orig_record['obj_imgurl']) { - $arr = import_profile_photo($photo,get_observer_hash(),true); + $arr = import_xchan_photo($photo,get_observer_hash(),true); $local_photo = $arr[0]; $local_photo_type = $arr[3]; } @@ -125,7 +125,7 @@ function thing_init(&$a) { $local_photo = null; if($photo) { - $arr = import_profile_photo($photo,get_observer_hash(),true); + $arr = import_xchan_photo($photo,get_observer_hash(),true); $local_photo = $arr[0]; $local_photo_type = $arr[3]; } -- cgit v1.2.3