aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-01 15:52:35 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-01 15:52:35 -0800
commitd3183467e06d6d7a04221c63d26173f97217cc43 (patch)
tree1da3ddc58b87a0afdfa0bf262c2d0950a192ccce /include/photo/photo_driver.php
parentb62614bbd48151837e29ab56a53e683d2f4dcb01 (diff)
parent618155e6ab1a76b5aaa667aa41a1668ce8f73a20 (diff)
downloadvolse-hubzilla-d3183467e06d6d7a04221c63d26173f97217cc43.tar.gz
volse-hubzilla-d3183467e06d6d7a04221c63d26173f97217cc43.tar.bz2
volse-hubzilla-d3183467e06d6d7a04221c63d26173f97217cc43.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r--include/photo/photo_driver.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index e980a96e1..285cbc8fb 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -734,6 +734,11 @@ function import_channel_photo($photo,$type,$aid,$uid) {
$photo_failure = true;
}
- return(($photo_failure)? false : true);
+ //return(($photo_failure)? false : true);
+
+ if($photo_failure)
+ return false;
+ else
+ return $hash;
}