X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-updates.php;h=f1ad0cc563fc5490f152fb77a783c2cda3f81431;hb=e9da1508b2a3ccbf63adc999981674740a47e074;hp=41fc659241221a66c3d834c59da41facc2caabaa;hpb=6b1e55213d76a67e9aa3d9f1e4dcb55e0bbf12ee;p=mailer.git diff --git a/inc/modules/admin/what-updates.php b/inc/modules/admin/what-updates.php index 41fc659241..f1ad0cc563 100644 --- a/inc/modules/admin/what-updates.php +++ b/inc/modules/admin/what-updates.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2015 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -62,7 +62,6 @@ if (empty($response[0]) && empty($response[1]) && empty($response[2]) && empty($ $ONLINE = array( 'version' => trim(str_replace(PHP_EOL, '', $response[0])), 'changed' => trim(str_replace(PHP_EOL, '', $response[1])), - 'revision' => trim(str_replace(PHP_EOL, '', $response[2])), 'code' => '200 OK' ); } else { @@ -75,15 +74,12 @@ if (empty($response[0]) && empty($response[1]) && empty($response[2]) && empty($ if (empty($ONLINE['version'])) { // Disconnected? displayErrorMessage('{--ADMIN_CANNOT_CHECK_VERSION--} (' . $ONLINE['code'] . ')'); -} elseif (($ONLINE['version'] != getFullVersion()) || ($ONLINE['revision'] > getCurrentRepositoryRevision())) { +} elseif ($ONLINE['version'] != getFullVersion()) { // New full-version available (all previous released patches are included in this version!) $ONLINE['changed'] = generateDateTime($ONLINE['changed'], 2); // Load template loadTemplate('admin_update_download', FALSE, $ONLINE); -} elseif ($ONLINE['revision'] < getCurrentRepositoryRevision()) { - // Installed revision is newer than on server - displayMessage('{--ADMIN_LOCAL_REVISION_IS_NEWER_THAN_UPDATE--}'); } else { // You have the latest version! displayMessage('{--ADMIN_NO_UPDATES_AVAILABLE--}');