aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-25 18:27:32 -0700
committerzotlabs <mike@macgirvin.com>2016-10-25 18:27:32 -0700
commit88a68b941ff2c8295ac5a6f221855bc4940ddb40 (patch)
treefc45ca754d0bfb82ecef6e1179adffb41c119d87 /include/items.php
parent084b41fc2c0e8abeec1da5c792ec552b5ae1ce8f (diff)
downloadvolse-hubzilla-88a68b941ff2c8295ac5a6f221855bc4940ddb40.tar.gz
volse-hubzilla-88a68b941ff2c8295ac5a6f221855bc4940ddb40.tar.bz2
volse-hubzilla-88a68b941ff2c8295ac5a6f221855bc4940ddb40.zip
put all dns checking into one function, allow it to be ignored
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/items.php b/include/items.php
index cb8a00c33..bb78af930 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4522,15 +4522,12 @@ function item_create_edit_activity($post) {
$new_item['body'] .= "\n\n";
$new_item['body'] .= $update_item['body'];
- $new_item['title'] = $update_item['title'];
-
$new_item['verb'] = ACTIVITY_UPDATE;
$new_item['item_thread_top'] = 0;
+ $new_item['created'] = $new_item['edited'] = datetime_convert();
$x = post_activity_item($new_item);
- logger('posted edit activity');
-
$post_id = $x['id'];
if($post_id) {
$r = q("select * from item where id = %d",