Commit Graph

4 Commits (ecfa2846621f30d64d83a9468cde3c2aa9211822)

Author SHA1 Message Date
Lunny Xiao 46ecb0a14d golint fixed for modules/user 2016-11-24 17:37:11 +08:00
Matthias Loibl d318f612a9 Add tests for CurrentUsername() (#88) 2016-11-06 09:47:25 +01:00
Pablo Saavedra 98b152030d 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
2016-07-09 13:22:28 +08:00
Paolo Borelli 0d38794c7f Factor out function to get the current user
The same logic was duplicated in three places. Factor it
out so that we can add further fallbacks in a single place.
2015-08-15 10:05:12 +02:00