mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-31 01:13:39 +02:00
improvements
This commit is contained in:
+2
-2
@@ -955,8 +955,8 @@ func UpdateUserCols(ctx context.Context, u *User, cols ...string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// UpdateUserColsWithNoAutotime update user according special columns
|
||||
func UpdateUserColsWithNoAutotime(ctx context.Context, u *User, cols ...string) error {
|
||||
// UpdateUserColsNoAutotime update user according special columns
|
||||
func UpdateUserColsNoAutotime(ctx context.Context, u *User, cols ...string) error {
|
||||
if err := ValidateUser(u, cols...); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user