From f60b5ea4dba55165c77aa6572cb9cbd963aef0e4 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 13 Nov 2020 09:29:59 +0800 Subject: [PATCH] MDL-66979 behat: Remove unused var --- lib/behat/form_field/behat_form_select.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/behat/form_field/behat_form_select.php b/lib/behat/form_field/behat_form_select.php index 228a5b614b5..10df8eafb58 100644 --- a/lib/behat/form_field/behat_form_select.php +++ b/lib/behat/form_field/behat_form_select.php @@ -51,7 +51,6 @@ class behat_form_select extends behat_form_field { // Is the select multiple? $multiple = $this->field->hasAttribute('multiple'); - $singleselect = ($this->field->hasClass('singleselect') || $this->field->hasClass('urlselect')); // Here we select the option(s). if ($multiple) {