]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php
Updated 'core'.
[hub.git] / application / hub / main / handler / answer-status / requests / class_RequestNodeListAnswerOkayHandler.php
index 30c65ac259f83c8356c84d43f9cae50063290076..128dbc3004265ef052fc8a310c147ff43b1ec3f9 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A RequestNodeListAnswerOkay handler
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -67,7 +67,7 @@ class RequestNodeListAnswerOkayHandler extends BaseAnserStatusHandler implements
                assert(isset($messageData[XmlRequestNodeListAnswerTemplateEngine::REQUEST_DATA_NODE_LIST]));
 
                // Save node list
-               $nodeList = unserialize(base64_decode($messageData[XmlRequestNodeListAnswerTemplateEngine::REQUEST_DATA_NODE_LIST]));
+               $nodeList = json_decode(base64_decode($messageData[XmlRequestNodeListAnswerTemplateEngine::REQUEST_DATA_NODE_LIST]));
 
                // Make sure it is completely decoded
                assert(is_array($nodeList));
@@ -85,7 +85,7 @@ class RequestNodeListAnswerOkayHandler extends BaseAnserStatusHandler implements
                $this->getDhtInstance()->registerNodeByMessageData($messageData, $this, TRUE);
 
                // Prepare next message ("hello" message to all returned nodes)
-               $this->prepareNextMessage($messageData, $packageInstance);
+               //$this->prepareNextMessage($messageData, $packageInstance);
        }
 
        /**