summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/album.php2
-rw-r--r--core/helpers/photo.php2
2 files changed, 2 insertions, 2 deletions
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);