Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
This commit is contained in:
Unknown 2014-05-07 18:57:00 -04:00
parent 31fd45ba02
commit 7d89e765ab

View file

@ -785,7 +785,7 @@ func NotifyWatchers(act *Action) error {
// IsWatching checks if user has watched given repository. // IsWatching checks if user has watched given repository.
func IsWatching(uid, rid int64) bool { func IsWatching(uid, rid int64) bool {
has, _ := orm.Get(&Watch{0, rid, uid}) has, _ := orm.Get(&Watch{0, uid, rid})
return has return has
} }