From: Alexander Ebert Date: Tue, 23 Dec 2014 19:03:50 +0000 (+0100) Subject: Removed debug code X-Git-Tag: 2.1.0_Beta_3~95 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8a1bb0316c066f1505780905c6ff35af53bdffd3;p=GitHub%2FWoltLab%2FWCF.git Removed debug code --- diff --git a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php index 880e81d74f..55ca9971c2 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php @@ -100,7 +100,6 @@ class PackageUpdateDispatcher extends SingletonFactory { try { $request->execute(); $reply = $request->getReply(); - //die("
".print_r($request, true));
 		}
 		catch (HTTPUnauthorizedException $e) {
 			throw new PackageUpdateUnauthorizedException($request, $updateServer);
@@ -111,7 +110,7 @@ class PackageUpdateDispatcher extends SingletonFactory {
 			$statusCode = (is_array($reply['statusCode'])) ? reset($reply['statusCode']) : $reply['statusCode'];
 			throw new SystemException(WCF::getLanguage()->get('wcf.acp.package.update.error.listNotFound') . ' ('.$statusCode.')');
 		}
-		//echo "
" . $updateServer->getListURL() . ": " . ((is_array($reply['statusCode'])) ? reset($reply['statusCode']) : $reply['statusCode']) . "
"; + // parse given package update xml $allNewPackages = false; if ($updateServer->apiVersion == '2.0' || $reply['statusCode'] != 304) {