]> source.dussan.org Git - gitea.git/commitdiff
Remove spurious logging (#12139) (#12148)
authorzeripath <art27@cantab.net>
Sun, 5 Jul 2020 16:09:13 +0000 (17:09 +0100)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2020 16:09:13 +0000 (12:09 -0400)
Backport #12139

Unfortunately #10745 merged a spurious logging message. This PR removes this.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
routers/init.go

index c891ec314962915369fc86b49f6e0999400adea6..964da6ced64b9c7b6bf0cec81fca8874de611aed 100644 (file)
@@ -36,7 +36,6 @@ import (
 
        "gitea.com/macaron/i18n"
        "gitea.com/macaron/macaron"
-       unknwoni18n "github.com/unknwon/i18n"
 )
 
 func checkRunMode() {
@@ -124,8 +123,6 @@ func GlobalInit(ctx context.Context) {
        // Setup i18n
        InitLocales()
 
-       log.Info("%s", unknwoni18n.Tr("en-US", "admin.dashboard.delete_repo_archives"))
-
        NewServices()
 
        if setting.InstallLock {