summaryrefslogtreecommitdiffstats
path: root/modules/user/user.go
diff options
context:
space:
mode:
authorPablo Saavedra <saavedra.pablo@gmail.com>2016-07-09 07:22:28 +0200
committer无闻 <u@gogs.io>2016-07-09 13:22:28 +0800
commit98b152030dd99a58dd0e27aac9d0eee06cc88c43 (patch)
treec9a68cdcabed5ba783b8e7f47c8140e758d4e840 /modules/user/user.go
parent467d7dacb68da78c1ec8dbe45d1dc745ecdf7f8d (diff)
downloadgitea-98b152030dd99a58dd0e27aac9d0eee06cc88c43.tar.gz
gitea-98b152030dd99a58dd0e27aac9d0eee06cc88c43.zip
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246)
Executed go fmt getEngine() not handles DB parameters (#2972) (#2974) Uses .AllCols() for Update in updateMirror() Spanish traslation removed Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
Diffstat (limited to 'modules/user/user.go')
-rw-r--r--modules/user/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.go b/modules/user/user.go
index 8a2557f327..4415632ee9 100644
--- a/modules/user/user.go
+++ b/modules/user/user.go
@@ -5,7 +5,7 @@
package user
import (
- "os"
+ "os"
)
func CurrentUsername() string {