summaryrefslogtreecommitdiff
path: root/core/helpers/album.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-28 00:19:08 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-28 00:19:08 +0000
commit3ad9b6174a0adcc3d9b6e4ae007bd3ffd8ef2d26 (patch)
treeb55c0a1303627c35707afd71389f5dd340663e76 /core/helpers/album.php
parentb8c034cb373a9e1f2df684f56e2cb1a42e413d1c (diff)
Add event plumbing to allow the tag module to be notified when a photo is created. Eventually this will be used to parse the image meta data and extract tags;
Diffstat (limited to 'core/helpers/album.php')
-rw-r--r--core/helpers/album.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php
index bae682fa..e2163b4c 100644
--- a/core/helpers/album.php
+++ b/core/helpers/album.php
@@ -53,6 +53,9 @@ class album_Core {
if (!file_exists($thumbnail_dir)) {
mkdir($thumbnail_dir);
}
+
+ Event::run("gallery.album_created", $photo);
+
return $album;
}
}