]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/NodeInfo110.php
Merge pull request #13676 from MrPetovan/bug/13673-markers-json-output
[friendica.git] / src / Module / NodeInfo110.php
index a308f8e6f581366dbc751ad8e28b1e94dc3969ae..85785ccca28b58854541b45077efa7e9efa28065 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -53,7 +53,7 @@ class NodeInfo110 extends BaseModule
                        'version'           => '1.0',
                        'software'          => [
                                'name'    => 'friendica',
-                               'version' => FRIENDICA_VERSION . '-' . DB_UPDATE_VERSION,
+                               'version' => App::VERSION . '-' . DB_UPDATE_VERSION,
                        ],
                        'protocols'         => [
                                'inbound'  => [
@@ -88,10 +88,6 @@ class NodeInfo110 extends BaseModule
 
                $nodeinfo['metadata']['services'] = $nodeinfo['services'];
 
-               if (Addon::isEnabled('twitter')) {
-                       $nodeinfo['metadata']['services']['inbound'][] = 'twitter';
-               }
-
                $nodeinfo['metadata']['explicitContent'] = $this->config->get('system', 'explicit_content', false) == true;
 
                $this->response->setType(ICanCreateResponses::TYPE_JSON);