Ver código fonte

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

ibireme 9 anos atrás
pai
commit
b4002953c7
1 arquivos alterados com 1 adições e 1 exclusões
  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;
     }