X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Frobotstxt.php;h=d686042cb12fe8e52a2a74a4fb910c1a57a05582;hb=ae885c0e0024dcae3f9cb198ed227a241aecd77e;hp=5131097c8c533eeb3a5ad376cf9e133c09ae8007;hpb=7558e2fd61c527b31b5a49d29a59b6b0b1d6d542;p=quix0rs-gnu-social.git diff --git a/actions/robotstxt.php b/actions/robotstxt.php index 5131097c8c..d686042cb1 100644 --- a/actions/robotstxt.php +++ b/actions/robotstxt.php @@ -40,7 +40,6 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 * @link http://status.net/ */ - class RobotstxtAction extends Action { /** @@ -53,7 +52,6 @@ class RobotstxtAction extends Action * * @return void */ - function handle($args) { if (Event::handle('StartRobotsTxt', array($this))) { @@ -65,9 +63,7 @@ class RobotstxtAction extends Action if (common_config('site', 'private')) { print "Disallow: /\n"; - } else { - $disallow = common_config('robotstxt', 'disallow'); foreach ($disallow as $dir) { @@ -92,7 +88,6 @@ class RobotstxtAction extends Action * * @return boolean is read only action? */ - function isReadOnly($args) { return true;