initial work on obj import, rename import_profile_photo to import_xchan_photo to more accurately state its purpose.

This commit is contained in:
redmatrix
2015-09-01 22:03:10 -07:00
parent c5578d7964
commit 6cc60ba477
10 changed files with 43 additions and 30 deletions

View File

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