зеркало из https://github.com/nextcloud/talk-ios.git
Remove temp-directory when removing an account
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
Родитель
e98835f60f
Коммит
78ad1fbe2d
|
@ -37,6 +37,7 @@
|
|||
#import "NCExternalSignalingController.h"
|
||||
#import "NCUserInterfaceController.h"
|
||||
#import "JDStatusBarNotification.h"
|
||||
#import "NCChatFileController.h"
|
||||
|
||||
@interface NCSettingsController ()
|
||||
{
|
||||
|
@ -320,6 +321,7 @@ NSString * const NCUserProfileImageUpdatedNotification = @"NCUserProfileImageUpd
|
|||
[[NCSettingsController sharedInstance] cleanUserAndServerStoredValues];
|
||||
[[NCAPIController sharedInstance] removeProfileImageForAccount:removingAccount];
|
||||
[[NCDatabaseManager sharedInstance] removeAccountWithAccountId:removingAccount.accountId];
|
||||
[[[NCChatFileController alloc] init] deleteDownloadDirectoryForAccount:removingAccount];
|
||||
|
||||
// Activate any of the inactive accounts
|
||||
NSArray *inactiveAccounts = [[NCDatabaseManager sharedInstance] inactiveAccounts];
|
||||
|
|
Загрузка…
Ссылка в новой задаче