aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Daemon/Notifier.php7
-rw-r--r--Zotlabs/Lib/Libzot.php13
-rw-r--r--Zotlabs/Lib/QueueWorker.php2
-rw-r--r--Zotlabs/Module/Item.php5
-rw-r--r--include/html2bbcode.php3
-rw-r--r--include/items.php2
6 files changed, 2 insertions, 30 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php
index 485299187..e74d04231 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -431,9 +431,6 @@ class Notifier {
return;
}
- hz_syslog(print_r(self::$encoded_item['type'], true));
- hz_syslog(print_r(self::$recipients, true));
-
// logger('recipients: ' . print_r(self::$recipients,true), LOGGER_NORMAL, LOG_DEBUG);
if (!count(self::$env_recips)) {
@@ -592,10 +589,6 @@ class Notifier {
foreach ($dhubs as $hub) {
- hz_syslog('notifier_hub: ' . $hub['hubloc_url'], LOGGER_DEBUG);
- hz_syslog(print_r($target_item['id'], true));
- hz_syslog(print_r($target_item['verb'], true));
-
if ($hub['hubloc_network'] !== 'zot6') {
$narr = [
'channel' => self::$channel,
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 7eabc074f..be2305c04 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1155,7 +1155,7 @@ class Libzot {
&& array_key_exists('actor', $AS->obj)
&& !empty($AS->tgt)) {
- hz_syslog('relayed collection operation', LOGGER_DEBUG);
+ logger('relayed collection operation', LOGGER_DEBUG);
$is_collection_operation = true;
$original_id = $AS->id;
@@ -1330,11 +1330,6 @@ class Libzot {
$relay = (($env['type'] === 'response') ? true : false);
- if($is_collection_operation)
- hz_syslog('col');
- else
- hz_syslog('not col');
-
$result = self::process_delivery($env['sender'], $AS, $item, $deliveries, $relay, false, $message_request, false, $is_collection_operation);
Activity::init_background_fetch($env['sender']);
@@ -1862,12 +1857,6 @@ class Libzot {
}
}
- if($is_collection_operation)
- hz_syslog('col1');
- else
- hz_syslog('not col1');
-
-
// This is used to fetch allow/deny rules if either the sender
// or owner is a connection. post_is_importable() evaluates all of them
$abook = q("select * from abook where abook_channel = %d and ( abook_xchan = '%s' OR abook_xchan = '%s' )",
diff --git a/Zotlabs/Lib/QueueWorker.php b/Zotlabs/Lib/QueueWorker.php
index 4242ec8e7..9e28999c9 100644
--- a/Zotlabs/Lib/QueueWorker.php
+++ b/Zotlabs/Lib/QueueWorker.php
@@ -284,7 +284,7 @@ class QueueWorker {
$jobs++;
- hz_syslog("Workinfo: " . $workitem[0]['workerq_data'], LOGGER_DEBUG);
+ logger("Workinfo: " . $workitem[0]['workerq_data'], LOGGER_DEBUG);
$workinfo = json_decode($workitem[0]['workerq_data'], true);
$argv = $workinfo['argv'];
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index 039468ad7..bff092ec4 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -1308,11 +1308,6 @@ class Item extends Controller {
$post = item_store($datarray, $execflag);
- hz_syslog('Item: ' . print_r($post['item_id'], true));
- hz_syslog('Item mid: ' . print_r($post['item']['mid'], true));
- hz_syslog('Item appr: ' . print_r($post['approval_id'], true));
- hz_syslog('Item appr mid: ' . print_r($post['approval']['mid'], true));
-
if ($post['success']) {
$this->add_listeners($datarray);
}
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index 277b0e640..b799a0c28 100644
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -29,9 +29,6 @@ function node2bbcodesub(&$doc, $oldnode, $attributes, $startbb, $endbb)
foreach ($list as $oldNode) {
- if ($oldnode == 'li')
- hz_syslog(print_r($oldNode,true));
-
$attr = array();
if ($oldNode->attributes->length)
foreach ($oldNode->attributes as $attribute)
diff --git a/include/items.php b/include/items.php
index dfa64fd27..a29c9532b 100644
--- a/include/items.php
+++ b/include/items.php
@@ -525,8 +525,6 @@ function post_activity_item($arr, $allow_code = false, $deliver = true, $channel
$post = item_store($arr, $allow_code, $deliver, $addAndSync);
- hz_syslog('post_activity_item: ' . print_r($post['item_id'], true));
-
if (!$post['success']) {
return $ret;
}