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

@@ -325,7 +325,7 @@ function app_store($arr) {
return $ret;
if($arr['photo'] && ! strstr($arr['photo'],z_root())) {
$x = import_profile_photo($arr['photo'],get_observer_hash(),true);
$x = import_xchan_photo($arr['photo'],get_observer_hash(),true);
$arr['photo'] = $x[1];
}
@@ -378,7 +378,7 @@ function app_update($arr) {
return $ret;
if($arr['photo'] && ! strstr($arr['photo'],z_root())) {
$x = import_profile_photo($arr['photo'],get_observer_hash(),true);
$x = import_xchan_photo($arr['photo'],get_observer_hash(),true);
$arr['photo'] = $x[1];
}