summaryrefslogtreecommitdiff
path: root/modules/tag/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/hooks')
-rw-r--r--modules/tag/hooks/photo_created.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/tag/hooks/photo_created.php b/modules/tag/hooks/photo_created.php
new file mode 100644
index 00000000..8f6cbab6
--- /dev/null
+++ b/modules/tag/hooks/photo_created.php
@@ -0,0 +1,2 @@
+<?php defined('SYSPATH') or die('No direct script access.');
+Event::add("gallery.photo_created", array('tag', 'on_photo_create'));