aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-13 18:30:06 -0700
committerfriendica <info@friendica.com>2014-04-13 18:30:06 -0700
commit769b0f6bc9ca66a0996c2d402359e5f463e25333 (patch)
treebec66428e29bafbb77902c4cc1d00b517f6d309b /include/photo
parent73f459b68d64282b76d8e11b8cd066faf440387a (diff)
downloadvolse-hubzilla-769b0f6bc9ca66a0996c2d402359e5f463e25333.tar.gz
volse-hubzilla-769b0f6bc9ca66a0996c2d402359e5f463e25333.tar.bz2
volse-hubzilla-769b0f6bc9ca66a0996c2d402359e5f463e25333.zip
Often somebody will join the matrix with a dodgy cert and we'll sort that out but their profile photo will remain rainbow man (or the site default). However the photo_date has been updated so we won't try again. This checkin looks for such a failure and leaves the photo_date alone if the photo import failed.
Diffstat (limited to 'include/photo')
-rw-r--r--include/photo/photo_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 484550cb7..f5e915402 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -616,7 +616,7 @@ function import_profile_photo($photo,$xchan,$thing = false) {
$type = 'image/jpeg';
}
- return(array($photo,$thumb,$micro,$type));
+ return(array($photo,$thumb,$micro,$type,$photo_failure));
}