summaryrefslogtreecommitdiffstats
path: root/models/admin.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-01-09 13:26:05 -0500
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-01-09 21:49:51 +0100
commitb316b2e7406c5011c37db8f1d0b542bae46762ba (patch)
tree4d7cbf7ce0e60bb1080e2cbc39ecb34b1761a1b5 /models/admin.go
parent97170916a3268c359476c00865c0369c9dc095bb (diff)
downloadgitea-b316b2e7406c5011c37db8f1d0b542bae46762ba.tar.gz
gitea-b316b2e7406c5011c37db8f1d0b542bae46762ba.zip
Unit tests for models/admin
Diffstat (limited to 'models/admin.go')
-rw-r--r--models/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/admin.go b/models/admin.go
index 9447ef67ea..94dc9b7a8c 100644
--- a/models/admin.go
+++ b/models/admin.go
@@ -103,7 +103,7 @@ func CountNotices() int64 {
return count
}
-// Notices returns number of notices in given page.
+// Notices returns notices in given page.
func Notices(page, pageSize int) ([]*Notice, error) {
notices := make([]*Notice, 0, pageSize)
return notices, x.