From 43e400622392262f54259ea7937a0080884c9abc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 6 Feb 2013 18:54:49 +0000 Subject: [PATCH] Also set a DHT instance (same) in this class --- .../hub/main/tasks/node/dht/class_NodeDhtBootstrapTask.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/application/hub/main/tasks/node/dht/class_NodeDhtBootstrapTask.php b/application/hub/main/tasks/node/dht/class_NodeDhtBootstrapTask.php index cf22768d4..b5a556d2e 100644 --- a/application/hub/main/tasks/node/dht/class_NodeDhtBootstrapTask.php +++ b/application/hub/main/tasks/node/dht/class_NodeDhtBootstrapTask.php @@ -41,6 +41,12 @@ class NodeDhtBootstrapTask extends BaseTask implements Taskable, Visitable { // Get new instance $taskInstance = new NodeDhtBootstrapTask(); + // Get a DHT instance + $dhtInstance = DhtObjectFactory::createDhtObjectInstance(); + + // Set the DHT instance here + $taskInstance->setDhtInstance($dhtInstance); + // Return the prepared instance return $taskInstance; } -- 2.39.5