aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-01 20:46:57 -0700
committerredmatrix <git@macgirvin.com>2016-07-01 20:46:57 -0700
commit41fa2d6c697bc4f7483e6c934b24c11fae368390 (patch)
tree1b525525959fe39b1a57fa6abf1df3658d76869e /include
parent59474673395242f472124968e962702fb6b5f023 (diff)
downloadvolse-hubzilla-41fa2d6c697bc4f7483e6c934b24c11fae368390.tar.gz
volse-hubzilla-41fa2d6c697bc4f7483e6c934b24c11fae368390.tar.bz2
volse-hubzilla-41fa2d6c697bc4f7483e6c934b24c11fae368390.zip
delivery invoked twice in mod_tagger, once in post_activity_item() and another at the main module level
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/items.php b/include/items.php
index 84683273d..48358c0e4 100755
--- a/include/items.php
+++ b/include/items.php
@@ -449,11 +449,7 @@ function post_activity_item($arr) {
call_hooks('post_local_end', $arr);
Zotlabs\Daemon\Master::Summon(array('Notifier','activity',$post_id));
$ret['success'] = true;
- $r = q("select * from item where id = %d limit 1",
- intval($post_id)
- );
- if($r)
- $ret['activity'] = $r[0];
+ $ret['activity'] = $post['item'];
}
return $ret;