aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/server.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/setting/server.go b/modules/setting/server.go
index 7c033bcc6b..08eb82fb3d 100644
--- a/modules/setting/server.go
+++ b/modules/setting/server.go
@@ -349,9 +349,4 @@ func loadServerFrom(rootCfg ConfigProvider) {
default:
LandingPageURL = LandingPage(landingPage)
}
-
- HasRobotsTxt, err = util.IsFile(path.Join(CustomPath, "robots.txt"))
- if err != nil {
- log.Error("Unable to check if %s is a file. Error: %v", path.Join(CustomPath, "robots.txt"), err)
- }
}