]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RobotsTxt.php
Use rawContent for Special Options to avoid a protected options() method
[friendica.git] / src / Module / RobotsTxt.php
index ec7ee086ec640388d668f7bc811885dc77b47d10..1fcf1269edf72de6acd90c982a1a957fb6c4462d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -28,7 +28,7 @@ use Friendica\BaseModule;
  */
 class RobotsTxt extends BaseModule
 {
-       public function rawContent()
+       protected function rawContent(array $request = [])
        {
                $allDisalloweds = [
                        '/settings/',