]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ReallySimpleDiscovery.php
Adhere feedback
[friendica.git] / src / Module / ReallySimpleDiscovery.php
index 9b8cb31a5706b8ee2da47f254e6a8027469e3ecc..d76094003feaabb78a60cd36d017782543c7c1c1 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
  *
@@ -34,7 +34,6 @@ class ReallySimpleDiscovery extends BaseModule
 {
        protected function rawContent(array $request = [])
        {
-               $xml = null;
                $content = XML::fromArray([
                        'rsd' => [
                                '@attributes' => [
@@ -67,7 +66,7 @@ class ReallySimpleDiscovery extends BaseModule
                                        ],
                                ],
                        ],
-               ], $xml);
+               ]);
                System::httpExit($content, Response::TYPE_XML);
        }
 }