From 02eb9aa521a17df8aef4af25bb7c68dd495ed395 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 21 Mar 2013 15:30:51 -0700 Subject: update for js_upload --- include/photos.php | 6 +++--- 1 file 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; } -- cgit v1.2.3