aboutsummaryrefslogtreecommitdiff
path: root/actions/addalbum.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/addalbum.php')
-rw-r--r--actions/addalbum.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/addalbum.php b/actions/addalbum.php
index 3e7a12e87..329ebee48 100644
--- a/actions/addalbum.php
+++ b/actions/addalbum.php
@@ -64,6 +64,9 @@
unset($_SESSION['tidypicsbody']);
unset($_SESSION['tidypicstags']);
+ // plugins can register to be told when a new Tidypics album has been created
+ trigger_elgg_event('add', 'tp_album', $album);
+
forward("pg/photos/upload/" . $album->guid);
}