aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 5f4c5b391..7f94bc520 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -639,6 +639,9 @@ foreach($_FILES AS $key => $val) {
$item_id = item_store($arr);
+ if($visible)
+ proc_run('php', "include/notifier.php", 'wall-new', $item_id);
+
call_hooks('photo_post_end',intval($item_id));
// addon uploaders should call "killme()" [e.g. exit] within the photo_post_end hook