summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-29 09:49:51 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-29 09:49:51 +0000
commit1b78f334447d86af9fde7cfbad738c0bb7f13e93 (patch)
tree70896c7bfdb5c7858e56121e9e9f1698b7275473 /modules
parentd01010cd1d137caf180d581ee30fe80cac971f5e (diff)
Fix a bug where we were listening to the wrong event.
Diffstat (limited to 'modules')
-rw-r--r--modules/tag/helpers/tag_event.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php
index 25a79c2a..f0f7a73e 100644
--- a/modules/tag/helpers/tag_event.php
+++ b/modules/tag/helpers/tag_event.php
@@ -24,9 +24,7 @@ class tag_event_Core {
*
* @param Item_Model $photo
*/
- public static function photo_create($photo) {
- print "PHOTO CREATE";
-
+ public static function photo_created($photo) {
$path = $photo->file_path();
$tags = array();
$size = getimagesize($photo->file_path(), $info);