From 9f4c4bbd8263f467b4df68d41b0ed79d97c3817c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 21 Feb 2013 23:41:57 +0000 Subject: [PATCH] Opps, wrong constant name --- application/hub/main/recipient/dht/class_DhtRecipient.php | 2 +- application/hub/main/recipient/upper/class_UpperRecipient.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/hub/main/recipient/dht/class_DhtRecipient.php b/application/hub/main/recipient/dht/class_DhtRecipient.php index 13661f33d..df06656eb 100644 --- a/application/hub/main/recipient/dht/class_DhtRecipient.php +++ b/application/hub/main/recipient/dht/class_DhtRecipient.php @@ -58,7 +58,7 @@ class DhtRecipient extends BaseRecipient implements Recipient { public function resolveRecipient ($recipient, Listable $listInstance) { // Make sure the recipient is valid //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-RECIPIENT: recipient=' . $recipient); - assert($recipient == NetworkPacke::PACKAGE_RECIPIENT_DHT); + assert($recipient == NetworkPacke::NETWORK_TARGET_DHT); $this->partialStub('Please implement this method. recipient=' . $recipient); } } diff --git a/application/hub/main/recipient/upper/class_UpperRecipient.php b/application/hub/main/recipient/upper/class_UpperRecipient.php index 4e4fea960..7d95c9094 100644 --- a/application/hub/main/recipient/upper/class_UpperRecipient.php +++ b/application/hub/main/recipient/upper/class_UpperRecipient.php @@ -57,7 +57,7 @@ class UpperRecipient extends BaseRecipient implements Recipient { public function resolveRecipient ($recipient, Listable $listInstance) { // Make sure the recipient is valid //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('UPPER-RECIPIENT: recipient=' . $recipient); - assert($recipient == NetworkPackage::PACKAGE_RECIPIENT_UPPER); + assert($recipient == NetworkPackage::NETWORK_TARGET_UPPER); // Get all bootstrap nodes foreach (explode(BaseHubSystem::BOOTSTRAP_NODES_SEPARATOR, $this->getConfigInstance()->getConfigEntry('hub_bootstrap_nodes')) as $ipPort) { -- 2.39.5