aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/items.php1
-rw-r--r--mod/item.php6
-rw-r--r--version.inc2
3 files changed, 7 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index b80f18b72..7fcb382b7 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3603,6 +3603,7 @@ function drop_items($items) {
function drop_item($id,$interactive = true,$stage = DROPITEM_NORMAL) {
+
$a = get_app();
// locate item to be deleted
diff --git a/mod/item.php b/mod/item.php
index 5ddafb709..693c64eca 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -781,7 +781,11 @@ function item_post(&$a) {
logger('mod_item: saved item ' . $post_id);
if($parent) {
- if($datarray['owner_xchan'] != $datarray['author_xchan']) {
+
+ // only send comment notification if this is a wall-to-wall comment,
+ // otherwise it will happen during delivery
+
+ if(($datarray['owner_xchan'] != $datarray['author_xchan']) && ($parent_item['item_flags'] & ITEM_WALL)) {
notification(array(
'type' => NOTIFY_COMMENT,
'from_xchan' => $datarray['author_xchan'],
diff --git a/version.inc b/version.inc
index 5ae7420d9..48858704d 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-06-25.717
+2014-06-26.718