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/controllers/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers/photos.php') diff --git a/core/controllers/photos.php b/core/controllers/photos.php index b177b205..19308f2d 100644 --- a/core/controllers/photos.php +++ b/core/controllers/photos.php @@ -78,7 +78,7 @@ class Photos_Controller extends Items_Controller { $photo->description = $form->edit_photo->description->value; $photo->save(); - module::event("photo_changed", $orig, $photo); + module::event("item_changed", $orig, $photo); log::success("content", "Updated photo", "id\">view"); message::success(t("Saved photo {{photo_title}}", array("photo_title" => $photo->title))); -- cgit v1.2.3