diff options
author | singuliere <35190819+singuliere@users.noreply.github.com> | 2022-02-21 14:00:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 14:00:05 +0100 |
commit | 54dd0fc88bdef7e9ab92003a9cc79c41423899e6 (patch) | |
tree | 575c3e11c8da6e42512369c8c6e6b57b2bd2a8c7 /models/pull.go | |
parent | 15a4b1d42b893678e0cb91a9e0bb257a4388263e (diff) | |
download | gitea-54dd0fc88bdef7e9ab92003a9cc79c41423899e6.tar.gz gitea-54dd0fc88bdef7e9ab92003a9cc79c41423899e6.zip |
migrations: remove dead code in gitea uploader (#18725)
When migrating, g.issues is a map with all issues created during the
migration. If an issue is not found in g.issues when inserting a
comment or a review, it cannot exist in the database and trying to get
it via GetIssueByIndex() will always fail and return an error.
Signed-off-by: singuliere <singuliere@autistici.org>
Diffstat (limited to 'models/pull.go')
0 files changed, 0 insertions, 0 deletions