tDelete useless metactx param - partage - File upload system
(HTM) git clone git://git.z3bra.org/partage.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5cf182f6f8ce9e5fa2ace974c8f9378c1ce8fdf4
(DIR) parent 6170af9c17baab43acc0f07a43c8f1080deda3ca
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Wed, 20 Oct 2021 22:28:11 +0200
Delete useless metactx param
Diffstat:
M partage.go | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/partage.go b/partage.go
t@@ -47,7 +47,6 @@ var conf struct {
filepath string
metapath string
filectx string
- metactx string
maxsize int64
expiry int64
}
t@@ -261,7 +260,6 @@ func parseconfig(file string) error {
conf.filepath = cfg.Section("").Key("filepath").String()
conf.metapath = cfg.Section("").Key("metapath").String()
conf.filectx = cfg.Section("").Key("filectx").String()
- conf.metactx = cfg.Section("").Key("metactx").String()
conf.rootdir = cfg.Section("").Key("rootdir").String()
conf.chroot = cfg.Section("").Key("chroot").String()
conf.tmplpath = cfg.Section("").Key("tmplpath").String()
t@@ -304,7 +302,6 @@ func main() {
conf.filepath = "files"
conf.metapath = "meta"
conf.filectx = "/f/"
- conf.metactx = "/m/"
conf.maxsize = 34359738368
conf.expiry = 86400