This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
bug fixed for delete repo failed (
#1193
)
for-closed-social
Lunny Xiao
7 years ago
committed by
GitHub
parent
656efdc1c7
commit
f5476bdbb1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/repo.go
+ 1
- 1
models/repo.go
View File
@ -1585,7 +1585,7 @@ func DeleteRepository(uid, repoID int64) error {
attachments
:=
make
(
[
]
*
Attachment
,
0
,
5
)
if
err
=
sess
.
In
(
"issue_id
=?
"
,
issueIDs
)
.
In
(
"issue_id"
,
issueIDs
)
.
Find
(
&
attachments
)
;
err
!=
nil
{
return
err
}
Write
Preview
Loading…
Cancel
Save