Эх сурвалжийг харах

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

ibireme 9 жил өмнө
parent
commit
b4002953c7
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;
     }