Commit a8dee654727ce15c6cebe526fdb6cb0c24fc9666
1 parent
99336c13
no message
Showing
1 changed file
with
2 additions
and
2 deletions
CNLiveBMineModule/Classes/Setting/Controller/CNLiveSettingController.m
| @@ -311,7 +311,7 @@ static const NSInteger timeValue = 1.5; | @@ -311,7 +311,7 @@ static const NSInteger timeValue = 1.5; | ||
| 311 | #pragma mark - 私有方法 | 311 | #pragma mark - 私有方法 |
| 312 | // 清除本地缓存 | 312 | // 清除本地缓存 |
| 313 | - (void)cleanLocalCache{ | 313 | - (void)cleanLocalCache{ |
| 314 | -// [XWUserManager removeUserInfo]; | 314 | + [CNUserInfoManager loginOut]; |
| 315 | [[SDImageCache sharedImageCache] clearMemory]; | 315 | [[SDImageCache sharedImageCache] clearMemory]; |
| 316 | [[SDImageCache sharedImageCache] clearDiskOnCompletion:^{ | 316 | [[SDImageCache sharedImageCache] clearDiskOnCompletion:^{ |
| 317 | [QMUITips showSucceed:@"清除成功" inView:self.view hideAfterDelay:timeValue]; | 317 | [QMUITips showSucceed:@"清除成功" inView:self.view hideAfterDelay:timeValue]; |
| @@ -323,7 +323,7 @@ static const NSInteger timeValue = 1.5; | @@ -323,7 +323,7 @@ static const NSInteger timeValue = 1.5; | ||
| 323 | #pragma mark - 公共方法 | 323 | #pragma mark - 公共方法 |
| 324 | // 清除本地缓存 | 324 | // 清除本地缓存 |
| 325 | + (void)cleanLocalCache{ | 325 | + (void)cleanLocalCache{ |
| 326 | -// [XWUserManager removeUserInfo]; | 326 | + [CNUserInfoManager loginOut]; |
| 327 | [[SDImageCache sharedImageCache] clearMemory]; | 327 | [[SDImageCache sharedImageCache] clearMemory]; |
| 328 | [[SDImageCache sharedImageCache] clearDiskOnCompletion:^{ | 328 | [[SDImageCache sharedImageCache] clearDiskOnCompletion:^{ |
| 329 | 329 |