diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-04-17 12:10:01 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-04-17 12:10:01 -0700 |
commit | ca453413616d31d4c367526bdc9f480b23ba80db (patch) | |
tree | 9de54479635ddeb0db45dc8f12328a1019648885 | |
parent | 8d8aefc5b83b4b814e3f6bd14866b817c1dbb7d0 (diff) |
Trigger the album_add_form_completed event after creating a new album.
-rw-r--r-- | modules/gallery/controllers/albums.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php index 730db9ae..ea15418f 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -107,6 +107,7 @@ class Albums_Controller extends Items_Controller { if ($valid) { $album->save(); + module::event("album_add_form_completed", $album, $form); log::success("content", "Created an album", html::anchor("albums/$album->id", "view album")); message::success(t("Created album %album_title", |