Closed
Description
Feature Description
I think the GetOwner
here should be LoadOwner
. Get
means return something and Load
means something is nil
, we need to load it.
This func dosen't return anything, but the description of this func says GetOwner returns the repository owner
Lines 376 to 384 in 8bba7e3
In other places, the functions which do samething are called LoadOwner
gitea/models/project/project.go
Lines 110 to 116 in 8bba7e3
Lines 95 to 112 in 8bba7e3
Screenshots
No response