From: Alexander Ebert Date: Sun, 29 Mar 2015 22:56:07 +0000 (+0200) Subject: Use current WCF version as minimum required version X-Git-Tag: 2.1.3~59 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0bc22cee0726920e4931b578bccb65cc88a20a90;p=GitHub%2FWoltLab%2FWCF.git Use current WCF version as minimum required version --- diff --git a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php index 9be4250367..fb567af891 100644 --- a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php +++ b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php @@ -751,7 +751,7 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject $xml->endElement(); $xml->startElement('requiredpackages'); - $xml->writeElement('requiredpackage', 'com.woltlab.wcf', array('minversion' => '2.0.0')); + $xml->writeElement('requiredpackage', 'com.woltlab.wcf', array('minversion' => PackageCache::getInstance()->getPackageByIdentifier('com.woltlab.wcf')->packageVersion)); $xml->endElement(); $xml->startElement('instructions', array('type' => 'install'));