]> git.saurik.com Git - cydia.git/commitdiff
Disabled obsolete usage to AddSourceController.
authorGrant Paul <chpwn@chpwn.com>
Sun, 12 Dec 2010 01:01:26 +0000 (17:01 -0800)
committerGrant Paul <chpwn@chpwn.com>
Sun, 12 Dec 2010 01:01:26 +0000 (17:01 -0800)
MobileCydia.mm

index 73f9ddc536e881c9069bb15db8237471839c1555..f17019cc5a009826b114a7fe0e3dbe18a04708a5 100644 (file)
@@ -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"])