diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-25 18:27:32 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-25 18:27:32 -0700 |
commit | 88a68b941ff2c8295ac5a6f221855bc4940ddb40 (patch) | |
tree | fc45ca754d0bfb82ecef6e1179adffb41c119d87 /include/items.php | |
parent | 084b41fc2c0e8abeec1da5c792ec552b5ae1ce8f (diff) | |
download | volse-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-x | include/items.php | 5 |
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", |