]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RobotsTxt.php
Remove the activity
[friendica.git] / src / Module / RobotsTxt.php
index 1fcf1269edf72de6acd90c982a1a957fb6c4462d..3651382a00b4f5f7c3aeb397840a97e58b389458 100644 (file)
@@ -22,6 +22,7 @@
 namespace Friendica\Module;
 
 use Friendica\BaseModule;
+use Friendica\Core\System;
 
 /**
  * Return the default robots.txt
@@ -44,6 +45,6 @@ class RobotsTxt extends BaseModule
                foreach ($allDisalloweds as $disallowed) {
                        echo 'Disallow: ' . $disallowed . PHP_EOL;
                }
-               exit();
+               System::exit();
        }
 }