Jacek Kowalski
2019-06-20 978f77a82328250542c2baa73bc96a383501a269
Change logic determining whether the file on server was updated

Do not download older file with different file size
1 files modified
2 ■■■ changed files
lib/fetch.php 2 ●●● patch | view | raw | blame | history
lib/fetch.php
@@ -51,7 +51,7 @@
    
    $updated = FALSE;
    
    if($localSize != $remoteSize || $localTime < $remoteTime) {
    if($localTime < $remoteTime || ($localTime == $remoteTime && $localSize != $remoteSize)) {
        if(file_exists($file.'.tmp')) {
            unlink($file.'.tmp');
        }