Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: AdBlocker/SimpleAdblockDomTraverser.cpp

Issue 8978054: Removal of shareware parts (Closed)
Patch Set: Created Dec. 5, 2012, 7:59 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AdBlocker/SimpleAdblockClient.cpp ('k') | AdBlocker/SimpleAdblockTab.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: AdBlocker/SimpleAdblockDomTraverser.cpp
===================================================================
--- a/AdBlocker/SimpleAdblockDomTraverser.cpp
+++ b/AdBlocker/SimpleAdblockDomTraverser.cpp
@@ -29,18 +29,6 @@
bool CPluginDomTraverser::OnElement(IHTMLElement* pEl, const CString& tag, CPluginDomTraverserCache* cache, bool isDebug, CString& indent)
{
- //is plugin registered
- CPluginSettings* settings = CPluginSettings::GetInstance();
- if (!settings->GetBool(SETTING_PLUGIN_REGISTRATION, false))
- {
- //is the limit exceeded?
- if ((settings->GetValue(SETTING_PLUGIN_ADBLOCKCOUNT, 0) >= settings->GetValue(SETTING_PLUGIN_ADBLOCKLIMIT, 0)) &&
- (settings->GetValue(SETTING_PLUGIN_ADBLOCKLIMIT, 0) > 0))
- {
- return true;
- }
- }
-
if (cache->m_isHidden)
{
return false;
« no previous file with comments | « AdBlocker/SimpleAdblockClient.cpp ('k') | AdBlocker/SimpleAdblockTab.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld