Browse Source

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

ibireme 9 năm trước cách đây
mục cha
commit
fc0566aa3b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
     }