From: Grant Paul Date: Sun, 12 Dec 2010 01:01:26 +0000 (-0800) Subject: Disabled obsolete usage to AddSourceController. X-Git-Tag: v1.1.0%b1~414 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/275fdcc99d73ae5b70046c82a53704a9d74b401f?hp=-c Disabled obsolete usage to AddSourceController. --- 275fdcc99d73ae5b70046c82a53704a9d74b401f 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"])