From 275fdcc99d73ae5b70046c82a53704a9d74b401f Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Sat, 11 Dec 2010 17:01:26 -0800 Subject: Disabled obsolete usage to AddSourceController. --- MobileCydia.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MobileCydia.mm') diff --git a/MobileCydia.mm b/MobileCydia.mm index 73f9ddc..f17019c 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8667,10 +8667,10 @@ static _finline void _setHomePage(Cydia *self) { if (![path hasPrefix:@"/"]) path = [@"/" stringByAppendingString:path]; - if ([path isEqualToString:@"/add-source"]) - return [[[AddSourceController alloc] initWithDatabase:database_] autorelease]; - else if ([path isEqualToString:@"/storage"]) + if ([path isEqualToString:@"/storage"]) return [self _pageForURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"storage" ofType:@"html"]] withClass:[CYBrowserController class]]; + /*else if ([path isEqualToString:@"/add-source"]) + return [[[AddSourceController alloc] initWithDatabase:database_] autorelease];*/ else if ([path isEqualToString:@"/sources"]) return [[[SourceTable alloc] initWithDatabase:database_] autorelease]; else if ([path isEqualToString:@"/packages"]) -- cgit v1.2.3