diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-16 03:54:24 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-16 03:54:24 +0000 |
commit | ecf94c74d8f9712c5bd09058cf1ff14bec32ac98 (patch) | |
tree | fad8e3b3e51143adceaef974848e6a7a1dbc733f /core/helpers | |
parent | 23b0ee3628ff4001da1d4635f403622acb6baf83 (diff) |
Update event handlers to reflect new item event names
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_event.php | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/core/helpers/core_event.php b/core/helpers/core_event.php index 819a6a63..e430319d 100644 --- a/core/helpers/core_event.php +++ b/core/helpers/core_event.php @@ -27,19 +27,11 @@ class core_event_Core { access::delete_group($group); } - static function photo_created($photo) { - access::add_item($photo); + static function item_created($item) { + access::add_item($item); } - static function photo_before_delete($photo) { - access::delete_item($photo); - } - - static function album_created($album) { - access::add_item($album); - } - - static function album_before_delete($album) { - access::delete_item($album); + static function item_before_delete($item) { + access::delete_item($item); } } |