diff options
author | Unknwon <u@gogs.io> | 2015-09-10 15:45:03 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-10 15:45:03 -0400 |
commit | fa728d8dff2ddb8039efc2767f4fefb2d2f62004 (patch) | |
tree | 76290247b6605e4a41ccb3eff627863687a68019 /models/models.go | |
parent | 26ac016b9fb6b3fb308996e2ee56dad0b794aa49 (diff) | |
download | gitea-fa728d8dff2ddb8039efc2767f4fefb2d2f62004.tar.gz gitea-fa728d8dff2ddb8039efc2767f4fefb2d2f62004.zip |
more minor fix on 1581
Diffstat (limited to 'models/models.go')
-rw-r--r-- | models/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go index b8777e9f5a..67fa14149e 100644 --- a/models/models.go +++ b/models/models.go @@ -237,7 +237,7 @@ func GetStatistic() (stats Statistic) { stats.Counter.Follow, _ = x.Count(new(Follow)) stats.Counter.Mirror, _ = x.Count(new(Mirror)) stats.Counter.Release, _ = x.Count(new(Release)) - stats.Counter.LoginSource, _ = x.Count(new(LoginSource)) + stats.Counter.LoginSource = CountLoginSources() stats.Counter.Webhook, _ = x.Count(new(Webhook)) stats.Counter.Milestone, _ = x.Count(new(Milestone)) stats.Counter.Label, _ = x.Count(new(Label)) |