diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-13 22:57:31 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-13 22:57:31 -0700 |
commit | c5031139ebb46ce4994d3bd62059ae4eaba71359 (patch) | |
tree | aadb065cbaf0fbf788b6f4fdd7a5e1a332ba7373 /mod/dfrn_notify.php | |
parent | 38fde6672eb3d46b8b154ba2f22df99f91f64852 (diff) | |
download | volse-hubzilla-c5031139ebb46ce4994d3bd62059ae4eaba71359.tar.gz volse-hubzilla-c5031139ebb46ce4994d3bd62059ae4eaba71359.tar.bz2 volse-hubzilla-c5031139ebb46ce4994d3bd62059ae4eaba71359.zip |
abstractify items, check photos for birthday paradox
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r-- | mod/dfrn_notify.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index b1a330e8c..80cd1a2fd 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -208,7 +208,7 @@ function dfrn_notify_post(&$a) { $datarray['parent-uri'] = $parent_uri; $datarray['uid'] = $importer['importer_uid']; $datarray['contact-id'] = $importer['id']; - $posted_id = post_remote($a,$datarray); + $posted_id = item_store($datarray); if($posted_id) { $r = q("SELECT `parent` FROM `item` WHERE `id` = %d AND `uid` = %d LIMIT 1", @@ -280,7 +280,7 @@ function dfrn_notify_post(&$a) { $datarray['parent-uri'] = $parent_uri; $datarray['uid'] = $importer['importer_uid']; $datarray['contact-id'] = $importer['id']; - $r = post_remote($a,$datarray); + $r = item_store($datarray); // find out if our user is involved in this conversation and wants to be notified. @@ -342,7 +342,7 @@ function dfrn_notify_post(&$a) { $datarray['parent-uri'] = $item_id; $datarray['uid'] = $importer['importer_uid']; $datarray['contact-id'] = $importer['id']; - $r = post_remote($a,$datarray); + $r = item_store($datarray); continue; } |