diff options
author | Grant Paul <chpwn@chpwn.com> | 2010-12-11 17:01:26 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2010-12-11 17:01:26 -0800 |
commit | 275fdcc99d73ae5b70046c82a53704a9d74b401f (patch) | |
tree | 470943ecaba61d4167a9132bf85b5c3c4b0c7c1a /MobileCydia.mm | |
parent | c8318ee479dbde338062fe5228dd8ebde94a0c22 (diff) |
Disabled obsolete usage to AddSourceController.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 6 |
1 files changed, 3 insertions, 3 deletions
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"]) |