Ignore the missing API version for the Core itself
authorAlexander Ebert <ebert@woltlab.com>
Wed, 22 Nov 2017 15:10:05 +0000 (16:10 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 22 Nov 2017 15:10:44 +0000 (16:10 +0100)
wcfsetup/install/files/lib/system/package/validation/PackageValidationArchive.class.php

index 7315a37b30c0b23b754e13c7fb447d34cc40d146..06a732a17400b5b7808df2d0c890795c545a7370 100644 (file)
@@ -216,7 +216,7 @@ class PackageValidationArchive implements \RecursiveIterator {
                                throw new PackageValidationException(PackageValidationException::INCOMPATIBLE_API_VERSION, ['isOlderVersion' => $isOlderVersion]);
                        }
                }
-               else if (ENABLE_DEBUG_MODE && ENABLE_DEVELOPER_TOOLS) {
+               else if (ENABLE_DEBUG_MODE && ENABLE_DEVELOPER_TOOLS && $package->package !== 'com.woltlab.wcf') {
                        throw new PackageValidationException(PackageValidationException::MISSING_API_VERSION);
                }