aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-05 20:14:19 -0800
committerfriendica <info@friendica.com>2013-02-05 20:14:19 -0800
commit2a6abaf9d54f7345e04db8b3fb5fe96eaa2a5c1d (patch)
tree98fd3d7d1b0d29e5e2c3fbed5db9067801c0253a /include/photos.php
parentf3eb2eb9e7f5da80dae8518a70e05514a203d0f1 (diff)
downloadvolse-hubzilla-2a6abaf9d54f7345e04db8b3fb5fe96eaa2a5c1d.tar.gz
volse-hubzilla-2a6abaf9d54f7345e04db8b3fb5fe96eaa2a5c1d.tar.bz2
volse-hubzilla-2a6abaf9d54f7345e04db8b3fb5fe96eaa2a5c1d.zip
partial cleanup of mod/profile_photo - needs a LOT more
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 d4ddb8909..885d2f958 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -219,6 +219,7 @@ function photo_upload($channel, $observer, $args) {
$ret['success'] = true;
$ret['body'] = $arr['body'];
+ $ret['resource_id'] = $photo_hash;
$ret['photoitem_id'] = $item_id;
call_hooks('photo_post_end',$ret);