From d4394d9645b379c1d57c096ee4136fbae4904b1d Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 30 Oct 2010 14:55:31 +0000 Subject: added river events for ajax upload --- actions/ajax_upload_complete.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actions/ajax_upload_complete.php') diff --git a/actions/ajax_upload_complete.php b/actions/ajax_upload_complete.php index 4fc96061e..0912854a3 100644 --- a/actions/ajax_upload_complete.php +++ b/actions/ajax_upload_complete.php @@ -21,4 +21,7 @@ if ($album->new_album == TP_NEW_ALBUM) { add_to_river('river/object/album/create', 'create', $album->owner_guid, $album->guid); } +// plugins can register to be told when a Tidypics album has had images added +trigger_elgg_event('upload', 'tp_album', $album); + exit; \ No newline at end of file -- cgit v1.2.3