From: Grant Paul Date: Sun, 12 Dec 2010 01:01:26 +0000 (-0800) Subject: Disabled obsolete usage to AddSourceController. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/6127b03e79cb00a94090d261317a90f160cca5aa Disabled obsolete usage to AddSourceController. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 73f9ddc5..f17019cc 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"])