mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Remove incorrect check on package provides
This commit is contained in:
parent
c927a87db3
commit
88022667ce
@ -735,10 +735,6 @@ class Package(db.Model):
|
|||||||
if state == PackageState.APPROVED and ("Other" in self.license.name or "Other" in self.media_license.name):
|
if state == PackageState.APPROVED and ("Other" in self.license.name or "Other" in self.media_license.name):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
provides = self.provides
|
|
||||||
if state == PackageState.APPROVED and len(provides) == 1 and provides[0].name != self.name:
|
|
||||||
return False
|
|
||||||
|
|
||||||
if self.getMissingHardDependenciesQuery().count() > 0:
|
if self.getMissingHardDependenciesQuery().count() > 0:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user