diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2012-09-10 09:24:57 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2012-09-10 09:24:57 -0700 |
commit | 87e10dad740bf8bd30545f2aaf36316c85b35961 (patch) | |
tree | b987e2cb31cc3fd757f8848fcded78eb2d6f22d5 | |
parent | e6157445e53b03e52f258d31bf232ba6c472c468 (diff) |
Remove redundant "protect commercial package" logic.
-rw-r--r-- | MobileCydia.mm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 22ed6cb..023a6d9 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. |