/**
* @author Jan Altensen (Stricted)
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @copyright 2015 Jan Altensen (Stricted)
+ * @copyright 2015-2016 Jan Altensen (Stricted)
*/
trait Connection {
/**
$path = 'data/modules.json';
$fields = array('csrf_token' => $this->token, 'lte_reconn' => '1');
$data = $this->sendEncryptedRequest($path, $fields, true);
+ $data = $this->getValues($data['body']);
+
if ($data['status'] == 'ok') {
return true;
}