]> git.saurik.com Git - cydia.git/commitdiff
SourcesController does not need a pkgSourceList.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 2 Apr 2011 05:51:59 +0000 (22:51 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 2 Apr 2011 05:51:59 +0000 (22:51 -0700)
MobileCydia.mm

index fe43e50053850556c2bff6ff8afd6ace88d1f225..1f2fcddc0b7c973f5e961ab7e04b3f13f4b853d7 100644 (file)
@@ -8918,10 +8918,6 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
 @synchronized (database_) {
     era_ = [database_ era];
 
-    pkgSourceList list;
-    if ([database_ popErrorWithTitle:UCLocalize("SOURCES") forOperation:list.ReadMainList()])
-        return;
-
     sources_ = [NSMutableArray arrayWithCapacity:16];
     [sources_ addObjectsFromArray:[database_ sources]];
     _trace();