Explorar el Código

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

ibireme hace 9 años
padre
commit
fc0566aa3b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
     }