aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-16 19:07:19 -0700
committerfriendica <info@friendica.com>2014-09-16 19:07:19 -0700
commitc4608d4c827881b0f0fa5e2031de3fbd5b0568d7 (patch)
treea590f2a9e6774806fa7acfd573790e99cf014875 /include/photos.php
parent6a82ccecd08e84dff0f4e3198693823d7019c6d2 (diff)
downloadvolse-hubzilla-c4608d4c827881b0f0fa5e2031de3fbd5b0568d7.tar.gz
volse-hubzilla-c4608d4c827881b0f0fa5e2031de3fbd5b0568d7.tar.bz2
volse-hubzilla-c4608d4c827881b0f0fa5e2031de3fbd5b0568d7.zip
just mark dead hubloc deleted - don't remove them. This could cause problems. Also clean up fetch_url/post_url header option
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/photos.php b/include/photos.php
index 06a99457a..badbbd791 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -266,6 +266,7 @@ function photo_upload($channel, $observer, $args) {
proc_run('php', "include/notifier.php", 'wall-new', $item_id);
$ret['success'] = true;
+ $ret['item'] = $arr;
$ret['body'] = $arr['body'];
$ret['resource_id'] = $photo_hash;
$ret['photoitem_id'] = $item_id;