summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-10 05:04:42 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-12 19:09:34 -0800
commit2ad83c072910a93164c245245f7328e802bbce02 (patch)
tree4ccd9bf1d5ff51cbf69fc19a9cd6edb6482fa132
parent74eb64c36f9d3c0096da52b7b31298e0b5b05a7d (diff)
Remove package variable, use cydia.getPackageById().
-rw-r--r--MobileCydia.mm5
1 files changed, 0 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index fd258ec..9673665 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5453,11 +5453,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
}
-- (void) webView:(WebView *)view didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame {
- [super webView:view didClearWindowObject:window forFrame:frame];
- [window setValue:package_ forKey:@"package"];
-}
-
- (bool) _allowJavaScriptPanel {
return commercial_;
}