aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-03 05:27:19 -0700
committerFriendika <info@friendika.com>2011-05-03 05:27:19 -0700
commit6c1d587ae3609fbf9670786b9ce807d104fe774d (patch)
tree46f80971bedd81f8a6d886f51426ba25a62804a8 /mod
parent0f261ef8fa41dc3c438b4eba36b314915e34aaf6 (diff)
downloadvolse-hubzilla-6c1d587ae3609fbf9670786b9ce807d104fe774d.tar.gz
volse-hubzilla-6c1d587ae3609fbf9670786b9ce807d104fe774d.tar.bz2
volse-hubzilla-6c1d587ae3609fbf9670786b9ce807d104fe774d.zip
notify not called on new photo album (first item)
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 324ce898d..86c2cb597 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