summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-15 02:52:42 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-15 02:52:42 +0000
commit034f30190eef5fad22c847e99787b33fac5178ab (patch)
tree17e37dee1caaf6131e21db3705e548a87309d410 /core
parentad4f495e56d1b544b2f4278b41572cdd53fe300f (diff)
Rename 'xxx_changed' events to 'xxx_updated'
Diffstat (limited to 'core')
-rw-r--r--core/controllers/albums.php2
-rw-r--r--core/controllers/photos.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/albums.php b/core/controllers/albums.php
index 474e9ab2..0150314c 100644
--- a/core/controllers/albums.php
+++ b/core/controllers/albums.php
@@ -152,7 +152,7 @@ class Albums_Controller extends Items_Controller {
$album->description = $form->edit_album->description->value;
$album->save();
- module::event("item_changed", $orig, $album);
+ module::event("item_updated", $orig, $album);
log::success("content", "Updated album", "<a href=\"albums/$album->id\">view</a>");
message::success(t("Saved album {{album_title}}", array("album_title" => $album->title)));
diff --git a/core/controllers/photos.php b/core/controllers/photos.php
index 19308f2d..ae1c6a3b 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("item_changed", $orig, $photo);
+ module::event("item_updated", $orig, $photo);
log::success("content", "Updated photo", "<a href=\"photos/$photo->id\">view</a>");
message::success(t("Saved photo {{photo_title}}", array("photo_title" => $photo->title)));