mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 05:53:58 +01:00
Merge branch 'master' of github.com:gogits/gogs
This commit is contained in:
commit
e2f63d81d3
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ func DeleteRepository(userId, repoId int64, userName string) (err error) {
|
||||||
session.Rollback()
|
session.Rollback()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if _, err := session.Delete(&Access{UserName: userName, RepoName: repo.Name}); err != nil {
|
if _, err := session.Delete(&Access{RepoName: strings.ToLower(path.Join(userName, repo.Name))}); err != nil {
|
||||||
session.Rollback()
|
session.Rollback()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue