From: Jay Freeman (saurik) Date: Mon, 10 Sep 2012 16:24:57 +0000 (-0700) Subject: Remove redundant "protect commercial package" logic. X-Git-Tag: v1.1.7~5 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/87e10dad740bf8bd30545f2aaf36316c85b35961 Remove redundant "protect commercial package" logic. --- 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.