mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 00:02:43 +02:00
checking reduced size scenario 2
cleanup unused code (save app.ini)
This commit is contained in:
1 parent
20d4d4f0a4
commit
0c3a46fd43
2 files changed
+46
-19
No files matched your search
@@ -284,10 +284,6 @@ func SaveGlobalRepositorySetting(enableSizeLimit bool, repoSizeLimit int64) erro
|
||||
}
|
||||
|
||||
sec.Key("REPO_SIZE_LIMIT").SetValue(humanize.Bytes(uint64(RepoSizeLimit)))
|
||||
// if err := CfgProvider.Save(); err != nil {
|
||||
// log.Fatal("Failed to save config file: %v", err)
|
||||
// return err
|
||||
// }
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user