1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
Commit Graph

3 Commits

Author SHA1 Message Date
KN4CK3R
1b630ff7cd
Fix user visible check ()
Fixes 

If user and viewer are equal the method should return true.
Also the common organization check was wrong as `count` can never be
less then 0.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-09-20 15:59:20 +08:00
Ethan Koenig
cf02cd7ba0 Fix and test for delete user ()
* Fix and test for delete user

* Run updates in batches

* Unit test
2017-05-20 16:48:22 +08:00
Ethan Koenig
3803f257fb Move user_follow to separate file ()
Also add unit tests
2017-03-11 16:46:53 +08:00