Skip to content

Commit 64430ed

Browse files
committed
fix review
1 parent 79aee02 commit 64430ed

File tree

7 files changed

+12
-4476
lines changed

7 files changed

+12
-4476
lines changed

models/migrations/v96.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,9 @@ func deleteOrphanedAttachments(x *xorm.Engine) error {
3939
_, err := x.ID(attachment.ID).NoAutoCondition().Delete(attachment)
4040
return err
4141
})
42-
return err
42+
if err != nil {
43+
return err
44+
}
45+
46+
return sess.Commit()
4347
}

modules/setting/repository.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ var (
100100
AccessControlAllowOrigin: "",
101101
UseCompatSSHURI: false,
102102
DefaultCloseIssuesViaCommitsInAnyBranch: false,
103+
EnablePushCreateUser: false,
104+
EnablePushCreateOrg: false,
103105
EnableKanbanBoard: true,
104106
ProjectBoardBasicKanbanType: strings.Split("Todo, In progress, Done", ","),
105107
ProjectBoardBugTriageType: strings.Split("Needs Triage, High priority, Low priority, Closed", ","),
106-
EnablePushCreateUser: false,
107-
EnablePushCreateOrg: false,
108108

109109
// Repository editor settings
110110
Editor: struct {

public/css/index.css

Lines changed: 0 additions & 1093 deletions
This file was deleted.

0 commit comments

Comments
 (0)