From 5b73a4675b81512cda504be3243d8b4d56c3596a Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 23 Jan 2018 18:15:10 +0100 Subject: [PATCH] Export styles using `` rather than excludes Closes #2518 --- wcfsetup/install/files/lib/data/style/StyleEditor.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php index e92f208ded..2283ec34f7 100644 --- a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php +++ b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php @@ -887,8 +887,8 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject $xml->writeElement('requiredpackage', 'com.woltlab.wcf', ['minversion' => PackageCache::getInstance()->getPackageByIdentifier('com.woltlab.wcf')->packageVersion]); $xml->endElement(); - $xml->startElement('excludedpackages'); - $xml->writeElement('excludedpackage', 'com.woltlab.wcf', ['version' => self::EXCLUDE_WCF_VERSION]); + $xml->startElement('compatibility'); + $xml->writeElement('api', '', ['version' => 2018]); $xml->endElement(); $xml->startElement('instructions', ['type' => 'install']); -- 2.20.1