From a8b62dc828c8a22e662e556384ceb042260bb33b Mon Sep 17 00:00:00 2001 From: Daimona Eaytoy Date: Fri, 24 Aug 2018 12:30:47 +0200 Subject: [PATCH] Remove unused method from parser AbuseFilterParser::setVarsimply calls the setVar method in VariableHolder and is currently unused. Its only call was removed in I80cbc4033ff96f2fe8c1da263b1877bfb4c7c0c4. After this patch we'll only have an uncovered line in the parser, which is likely due to a bug in the coverage check. Change-Id: Ic860b03b2d23fec073a9294e356e074ae1b14ae5 --- includes/parser/AbuseFilterParser.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/parser/AbuseFilterParser.php b/includes/parser/AbuseFilterParser.php index 5f8cd4b48..4b20c0d28 100644 --- a/includes/parser/AbuseFilterParser.php +++ b/includes/parser/AbuseFilterParser.php @@ -110,14 +110,6 @@ class AbuseFilterParser { return true; } - /** - * @param string $name - * @param mixed $value - */ - public function setVar( $name, $value ) { - $this->mVars->setVar( $name, $value ); - } - /** * Move to the next token */