Prechádzať zdrojové kódy

return YES on success (this change does not affect the existing logic)

ibireme 9 rokov pred
rodič
commit
fc0566aa3b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      YYWebImage/Cache/YYKVStorage.m

+ 1 - 1
YYWebImage/Cache/YYKVStorage.m

@@ -846,7 +846,7 @@ static UIApplication *_YYSharedApplication() {
             }
             if ([self _dbDeleteItemsWithTimeEarlierThan:time]) {
                 [self _dbCheckpoint];
-                return NO;
+                return YES;
             }
         } break;
     }