From 87e10dad740bf8bd30545f2aaf36316c85b35961 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 10 Sep 2012 09:24:57 -0700 Subject: [PATCH] Remove redundant "protect commercial package" logic. --- MobileCydia.mm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 22ed6cb2..023a6d96 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6054,15 +6054,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } } -// We don't want to allow non-commercial packages to do custom things to the install button, -// so it must call customButtonClicked with a custom commercial_ == 1 fallthrough. -- (void) customButtonClicked { - if (commercial_) - [super customButtonClicked]; - else - [self _customButtonClicked]; -} - - (void) reloadButtonClicked { // Don't reload a commerical package by tapping the loading button, // but if it's not an Install button, we should forward it on. -- 2.45.2