We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd09d1f commit 1f7aab6Copy full SHA for 1f7aab6
modules/setting/setting.go
@@ -562,13 +562,9 @@ func getAppPath() (string, error) {
562
func getWorkPath(appPath string) string {
563
workPath := ""
564
giteaWorkPath := os.Getenv("GITEA_WORK_DIR")
565
- gogsWorkPath := os.Getenv("GOGS_WORK_DIR")
566
567
if len(giteaWorkPath) > 0 {
568
workPath = giteaWorkPath
569
- } else if len(gogsWorkPath) > 0 {
570
- log.Warn(`Usage of GOGS_WORK_DIR is deprecated and will be *removed* in a future release, please consider changing to GITEA_WORK_DIR`)
571
- workPath = gogsWorkPath
572
} else {
573
i := strings.LastIndex(appPath, "/")
574
if i == -1 {
0 commit comments