From 1be7a262829daae5b79aa26d0d10fdfbfcf06a95 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 9 Aug 2015 22:21:48 +0200 Subject: [PATCH] Some messages were to noisy and are now no longer needed (still may be helpful later). So let's comment them out only. Signed-off-by: Roland Haeder --- application/hub/main/package/class_NetworkPackage.php | 2 +- application/hub/main/tools/class_HubTools.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php index a6328fab9..4e4f384eb 100644 --- a/application/hub/main/package/class_NetworkPackage.php +++ b/application/hub/main/package/class_NetworkPackage.php @@ -357,7 +357,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R // Is an entry found? if (count($senderData) > 0) { // Make sure the element 'private_key_hash' is there - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__)->debugOutput('NETWORK-PACKAGE[' . __METHOD__ . ':' . __LINE__ . ']: senderData=' . print_r($senderData, TRUE)); + //* NOISY-DEBUG */ self::createDebugInstance(__CLASS__)->debugOutput('NETWORK-PACKAGE[' . __METHOD__ . ':' . __LINE__ . ']: senderData=' . print_r($senderData, TRUE)); assert(isset($senderData[NodeDistributedHashTableDatabaseWrapper::DB_COLUMN_PRIVATE_KEY_HASH])); // Return it diff --git a/application/hub/main/tools/class_HubTools.php b/application/hub/main/tools/class_HubTools.php index 37636f29c..988fa7a4d 100644 --- a/application/hub/main/tools/class_HubTools.php +++ b/application/hub/main/tools/class_HubTools.php @@ -133,7 +133,7 @@ class HubTools extends BaseHubSystem { $nodeData = $selfInstance->getDhtInstance()->findNodeLocalBySessionId($sessionId); // Make sure the node id is there - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('HUB-TOOLS[' . __METHOD__ . ':' . __LINE__ . ']: sessionId=' . $sessionId . ', nodeData[' . gettype($nodeData) . ']=' . print_r($nodeData, TRUE)); + //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('HUB-TOOLS[' . __METHOD__ . ':' . __LINE__ . ']: sessionId=' . $sessionId . ', nodeData[' . gettype($nodeData) . ']=' . print_r($nodeData, TRUE)); assert(isset($nodeData[NodeDistributedHashTableDatabaseWrapper::DB_COLUMN_NODE_ID])); // Return it -- 2.39.5