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