From 828f23896f820f826b803b35c506f8e764504a18 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 28 Nov 2008 00:51:38 +0000 Subject: Rename item events and create events for comment create, login, logout, user creation. I probably forgot some, but its a start. --- 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 e2163b4c..70f5222a 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -54,7 +54,7 @@ class album_Core { mkdir($thumbnail_dir); } - Event::run("gallery.album_created", $photo); + Event::run("gallery.album.created", $photo); return $album; } diff --git a/core/helpers/photo.php b/core/helpers/photo.php index 900322d2..05fb2fb1 100644 --- a/core/helpers/photo.php +++ b/core/helpers/photo.php @@ -78,7 +78,7 @@ class photo_Core { ->set_resize($filename, 640, 480) ->save(); - Event::run("gallery.photo_created", $photo); + Event::run("gallery.photo.created", $photo); return $result; } -- cgit v1.2.3