aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-08 17:49:41 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-08 17:49:41 -0700
commitbec3d15c525ff12ba0de53c0b21e03cc9a3a7f39 (patch)
tree95d9760bf08424eede588935e177900f38b087d7 /mod/item.php
parentd81365c1238171b1068df7a2b2001b88646bdd98 (diff)
downloadvolse-hubzilla-bec3d15c525ff12ba0de53c0b21e03cc9a3a7f39.tar.gz
volse-hubzilla-bec3d15c525ff12ba0de53c0b21e03cc9a3a7f39.tar.bz2
volse-hubzilla-bec3d15c525ff12ba0de53c0b21e03cc9a3a7f39.zip
more work
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/item.php b/mod/item.php
index 4314719fb..40d03a198 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -24,6 +24,9 @@ function item_post(&$a) {
if(count($r))
$contact_id = $r[0]['id'];
}
+
+ $notify_type = (($parent) ? 'comment-new' : 'wall-new' );
+
if($_POST['type'] == 'jot') {
do {
@@ -59,10 +62,9 @@ function item_post(&$a) {
}
$url = bin2hex($a->get_baseurl());
- proc_close(proc_open("php include/notifier.php $url $post_id > notify.log &",
- array(),$foo));
-// notifier($a,$post_id,$parent);
+ proc_close(proc_open("php include/notifier.php $url $notify_type $post_id > notify.log &",
+ array(),$foo));
}
goaway($a->get_baseurl() . "/profile/$profile_uid");