diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-01 22:03:10 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-01 22:03:10 -0700 |
commit | 6cc60ba477c1634b2ba6d78495d35cbf306988e1 (patch) | |
tree | 5ffbc602bc3d6c3fe412f8b80aa69636e42cc1e3 /include/photo/photo_driver.php | |
parent | c5578d79643bbdde8f49baae2fa6890fc9bf9a53 (diff) | |
download | volse-hubzilla-6cc60ba477c1634b2ba6d78495d35cbf306988e1.tar.gz volse-hubzilla-6cc60ba477c1634b2ba6d78495d35cbf306988e1.tar.bz2 volse-hubzilla-6cc60ba477c1634b2ba6d78495d35cbf306988e1.zip |
initial work on obj import, rename import_profile_photo to import_xchan_photo to more accurately state its purpose.
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r-- | include/photo/photo_driver.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php index 553e77ed1..2a7d1ae01 100644 --- a/include/photo/photo_driver.php +++ b/include/photo/photo_driver.php @@ -557,14 +557,14 @@ function guess_image_type($filename, $headers = '') { } -function import_profile_photo($photo,$xchan,$thing = false) { +function import_xchan_photo($photo,$xchan,$thing = false) { $a = get_app(); $flags = (($thing) ? PHOTO_THING : PHOTO_XCHAN); $album = (($thing) ? 'Things' : 'Contact Photos'); - logger('import_profile_photo: updating channel photo from ' . $photo . ' for ' . $xchan, LOGGER_DEBUG); + logger('import_xchan_photo: updating channel photo from ' . $photo . ' for ' . $xchan, LOGGER_DEBUG); if($thing) $hash = photo_new_resource(); @@ -650,7 +650,7 @@ function import_profile_photo($photo,$xchan,$thing = false) { $micro = $a->get_baseurl() . '/photo/' . $hash . '-6'; } else { - logger('import_profile_photo: invalid image from ' . $photo); + logger('import_xchan_photo: invalid image from ' . $photo); $photo_failure = true; } if($photo_failure) { |