~rockstar/ubuntuone-ios-music/airplay-support

« back to all changes in this revision

Viewing changes to view_controllers/SettingsViewController.m

  • Committer: Tarmac
  • Author(s): Paul Hummer
  • Date: 2012-09-21 01:22:10 UTC
  • mfrom: (233.1.25 sort-sso)
  • Revision ID: tarmac-20120921012210-mbflcb9482ec381w
[r=urbanape] Add dependency on UbuntuOneAuthKit

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#import "U1CacheFileManager.h"
37
37
#import "UIAlertView+Blocks.h"
38
38
#import "RIButtonItem.h"
 
39
#import "UOAuthManager.h"
39
40
 
40
41
@interface SettingsViewController (Private)
41
42
- (void)_clearDatabaseFile:(id)sender;
254
255
        {
255
256
                if ([Subsonic sharedSubsonic].hasCredentials)
256
257
                {
257
 
                        [[Subsonic sharedSubsonic] removeCredentials];
 
258
            [[UOAuthManager sharedAuthManager] clearSubsonicCredentials];
258
259
            [self clearAllCaches:nil];
259
260
                        [[NSNotificationCenter defaultCenter] postNotificationName:NOTIF_removeCachedContent object:nil];
260
261
                        [[NSNotificationCenter defaultCenter] postNotificationName:NOTIF_reloadAccountCredentials object:nil];