]> source.dussan.org Git - gitea.git/commit
Fix condition for is_internal (#22095) (#22131)
authorKN4CK3R <admin@oldschoolhack.me>
Wed, 14 Dec 2022 17:49:44 +0000 (18:49 +0100)
committerGitHub <noreply@github.com>
Wed, 14 Dec 2022 17:49:44 +0000 (12:49 -0500)
commit6f323d13dd0e978a4e3795e93600cb115dbd80a6
tree33e4a5866c7c2e9efcb65d0c7c14844c483b0cd4
parent0e95e7460e46fd353d0a9d07bb4e65d96a2a0177
Fix condition for is_internal (#22095) (#22131)

Backport of #22095

I changed it to a static condition because it needs a new version of
xorm which is only available in 1.19. This change is valid because
`SearchLatestVersions` is never called to list internal versions and
there will no change to this behaviour in <1.19.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
models/packages/package_version.go