| Index: lib/survey.js |
| =================================================================== |
| --- a/lib/survey.js |
| +++ b/lib/survey.js |
| @@ -7,11 +7,15 @@ |
| let {Prefs} = require("prefs"); |
| let surveyLang = null; |
| -let surveyUrl = "http://urlfixer.org"; //"http://adblockplus.org/usersurvey/index.php?sid=68316"; |
| +let surveyUrl = null; //"http://urlfixer.org/usersurvey/..."; |
| exports.incrementCorrectionsCounter = incrementCorrectionsCounter; |
| function incrementCorrectionsCounter() |
| { |
| + // Only if survey exists |
| + if (!surveyUrl) |
| + return; |
| + |
| // Only users with 5 URL corrections |
| if (++Prefs.corrections_count == 5) |
| { |