mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 00:45:22 +02:00
Move some functions into services/repository (#17660)
This commit is contained in:
parent
447428f446
commit
48ccd325a1
19 changed files with 114 additions and 136 deletions
|
@ -557,7 +557,7 @@ func SettingsPost(ctx *context.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
if err := repository.ConvertForkToNormalRepository(repo); err != nil {
|
||||
if err := repo_service.ConvertForkToNormalRepository(repo); err != nil {
|
||||
log.Error("Unable to convert repository %-v from fork. Error: %v", repo, err)
|
||||
ctx.ServerError("Convert Fork", err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue