From: Roland Häder Date: Thu, 21 Feb 2013 23:41:57 +0000 (+0000) Subject: Opps, wrong constant name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9f4c4bbd8263f467b4df68d41b0ed79d97c3817c;p=hub.git Opps, wrong constant name --- 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) {