浏览代码

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

ibireme 9 年之前
父节点
当前提交
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;
     }