mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Delete releases attachments if release is deleted (#6068)
* delete attachments from the database and file system * add migration * fix import statements * fix package name * remove conditional should in case the confi has been changed and the server restarted * simplify deletion of attachments in DB * fix CI build * fix review * add copyright in the proper place * fix review
This commit is contained in:
@@ -14,5 +14,4 @@ func addIsLockedToIssues(x *xorm.Engine) error {
|
||||
}
|
||||
|
||||
return x.Sync2(new(Issue))
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user