Pārlūkot izejas kodu

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

ibireme 9 gadi atpakaļ
vecāks
revīzija
b4002953c7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      YYCache/YYKVStorage.m

+ 1 - 1
YYCache/YYKVStorage.m

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