From 3ad9b6174a0adcc3d9b6e4ae007bd3ffd8ef2d26 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 28 Nov 2008 00:19:08 +0000 Subject: 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; --- core/helpers/album.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/helpers/album.php') 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; } } -- cgit v1.2.3