From ad4f495e56d1b544b2f4278b41572cdd53fe300f Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 15 Jan 2009 02:51:16 +0000 Subject: Rename events album_created, photo_created -> item_created album_updated, photo_updated -> item_updated --- core/helpers/album.php | 2 +- core/helpers/photo.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/album.php b/core/helpers/album.php index fb79015e..e1875b3a 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -58,7 +58,7 @@ class album_Core { mkdir(dirname($album->thumb_path())); mkdir(dirname($album->resize_path())); - module::event("album_created", $album); + module::event("item_created", $album); return $album; } diff --git a/core/helpers/photo.php b/core/helpers/photo.php index 9178ad8c..74ef02e0 100644 --- a/core/helpers/photo.php +++ b/core/helpers/photo.php @@ -79,7 +79,7 @@ class photo_Core { $photo->add_to_parent($parent); copy($filename, $photo->file_path()); - module::event("photo_created", $photo); + module::event("item_created", $photo); // Build our thumbnail/resizes graphics::generate($photo); -- cgit v1.2.3