aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/lfs.go
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-20 18:00:38 +0100
committerGitHub <noreply@github.com>2022-01-20 18:00:38 +0100
commit1d98d205f5825f40110e6628b61a97c91ac7f72d (patch)
tree2326229027b9ba388732a912bff07ce4320aaf7c /modules/setting/lfs.go
parent16d378fefc0a569f2a7aed29e6c7f288b3d83f02 (diff)
downloadgitea-1d98d205f5825f40110e6628b61a97c91ac7f72d.tar.gz
gitea-1d98d205f5825f40110e6628b61a97c91ac7f72d.zip
Enable deprecation error for v1.17.0 (#18341)
Co-authored-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/setting/lfs.go')
-rw-r--r--modules/setting/lfs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/lfs.go b/modules/setting/lfs.go
index a4bbd3c3ff..7065ce6383 100644
--- a/modules/setting/lfs.go
+++ b/modules/setting/lfs.go
@@ -36,6 +36,8 @@ func newLFSService() {
storageType := lfsSec.Key("STORAGE_TYPE").MustString("")
// Specifically default PATH to LFS_CONTENT_PATH
+ //FIXME: DEPRECATED to be removed in v1.18.0
+ deprecatedSetting("server", "LFS_CONTENT_PATH", "lfs", "PATH")
lfsSec.Key("PATH").MustString(
sec.Key("LFS_CONTENT_PATH").String())