From 8a1bb0316c066f1505780905c6ff35af53bdffd3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 23 Dec 2014 20:03:50 +0100 Subject: [PATCH] Removed debug code --- .../files/lib/system/package/PackageUpdateDispatcher.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.20.1