]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/helper/dht/class_DhtPublishEntryHelper.php
Refacturing to pass a ProtocolHandler instance instead of the direct name. This
[hub.git] / application / hub / main / helper / dht / class_DhtPublishEntryHelper.php
index 0e00a83f43faf9d59a1f9bf2cd1324db82e93ccd..8c7167e26f4661bcb8b6a3e6de58b7667d84743c 100644 (file)
@@ -91,7 +91,7 @@ class DhtPublishEntryHelper extends BaseHubSystemHelper implements HelpableDht {
                $packageInstance = NetworkPackageFactory::createNetworkPackageInstance();
 
                // Next, feed the content in. The network package class is a pipe-through class.
-               $packageInstance->enqueueRawDataFromTemplate($this, NetworkPackage::PROTOCOL_TCP);
+               $packageInstance->enqueueRawDataFromTemplate($this);
        }
 }