summaryrefslogtreecommitdiffstats
path: root/models/statistic.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/statistic.go')
-rw-r--r--models/statistic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/statistic.go b/models/statistic.go
index 55ace626c8..ec094b5f5b 100644
--- a/models/statistic.go
+++ b/models/statistic.go
@@ -111,5 +111,5 @@ func GetStatistic() (stats Statistic) {
stats.Counter.Attachment, _ = e.Count(new(repo_model.Attachment))
stats.Counter.Project, _ = e.Count(new(project_model.Project))
stats.Counter.ProjectBoard, _ = e.Count(new(project_model.Board))
- return
+ return stats
}