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 | 311 | #pragma mark - 私有方法 |
| 312 | 312 | // 清除本地缓存 |
| 313 | 313 | - (void)cleanLocalCache{ |
| 314 | -// [XWUserManager removeUserInfo]; | |
| 314 | + [CNUserInfoManager loginOut]; | |
| 315 | 315 | [[SDImageCache sharedImageCache] clearMemory]; |
| 316 | 316 | [[SDImageCache sharedImageCache] clearDiskOnCompletion:^{ |
| 317 | 317 | [QMUITips showSucceed:@"清除成功" inView:self.view hideAfterDelay:timeValue]; |
| ... | ... | @@ -323,7 +323,7 @@ static const NSInteger timeValue = 1.5; |
| 323 | 323 | #pragma mark - 公共方法 |
| 324 | 324 | // 清除本地缓存 |
| 325 | 325 | + (void)cleanLocalCache{ |
| 326 | -// [XWUserManager removeUserInfo]; | |
| 326 | + [CNUserInfoManager loginOut]; | |
| 327 | 327 | [[SDImageCache sharedImageCache] clearMemory]; |
| 328 | 328 | [[SDImageCache sharedImageCache] clearDiskOnCompletion:^{ |
| 329 | 329 | ... | ... |