Added logo.svg remove when uploading
This commit is contained in:
parent
830d5a1c59
commit
7d3d3415ec
|
|
@ -927,6 +927,7 @@ func UpdateBranding(db store.IStore) echo.HandlerFunc {
|
|||
}
|
||||
|
||||
if logo_exist {
|
||||
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.svg")
|
||||
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.png")
|
||||
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.jpg")
|
||||
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.jpeg")
|
||||
|
|
|
|||
Loading…
Reference in New Issue