diff options
author | friendica <info@friendica.com> | 2013-03-21 15:30:51 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-03-21 15:30:51 -0700 |
commit | 02eb9aa521a17df8aef4af25bb7c68dd495ed395 (patch) | |
tree | 4a599c3acdd30eb6e8558e2348a73b6e8050ba99 | |
parent | d9492a4a7687ba3804fcb353d916002b8fb2853d (diff) | |
download | volse-hubzilla-02eb9aa521a17df8aef4af25bb7c68dd495ed395.tar.gz volse-hubzilla-02eb9aa521a17df8aef4af25bb7c68dd495ed395.tar.bz2 volse-hubzilla-02eb9aa521a17df8aef4af25bb7c68dd495ed395.zip |
update for js_upload
-rw-r--r-- | include/photos.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/photos.php b/include/photos.php index b4e05ccca..0e6aa8c96 100644 --- a/include/photos.php +++ b/include/photos.php @@ -122,7 +122,7 @@ function photo_upload($channel, $observer, $args) { $ret['message'] = t('Unable to process image'); logger('photo_upload: unable to process image'); @unlink($src); - call_hooks('photo_post_end',$ret); + call_hooks('photo_upload_end',$ret); return $ret; } @@ -175,7 +175,7 @@ function photo_upload($channel, $observer, $args) { ); $ret['message'] = t('Photo storage failed.'); logger('photo_upload: photo store failed.'); - call_hooks('photo_post_end',$ret); + call_hooks('photo_upload_end',$ret); return $ret; } @@ -222,7 +222,7 @@ function photo_upload($channel, $observer, $args) { $ret['resource_id'] = $photo_hash; $ret['photoitem_id'] = $item_id; - call_hooks('photo_post_end',$ret); + call_hooks('photo_upload_end',$ret); return $ret; } |