From ba5721c58ef8010ad268c5e0433515c1cb6cf86e Mon Sep 17 00:00:00 2001 From: noackorama Date: Wed, 1 Jun 2022 17:22:07 +0200 Subject: backport changes in SearchWidget from #394 to get #1115 fixed --- lib/classes/sidebar/SearchWidget.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/classes/sidebar/SearchWidget.php b/lib/classes/sidebar/SearchWidget.php index 39bf1ee..2b7979e 100644 --- a/lib/classes/sidebar/SearchWidget.php +++ b/lib/classes/sidebar/SearchWidget.php @@ -35,24 +35,6 @@ class SearchWidget extends SidebarWidget } /** - * Sets the id for the form element. - */ - public function setId($id) - { - $this->id = $id; - } - - /** - * Returns the id for the form element. - * - * @return mixed String containing the id or null if no id has been set. - */ - public function getId() - { - return $this->id; - } - - /** * Sets the request method used for the form. */ public function setMethod($method) @@ -143,7 +125,6 @@ class SearchWidget extends SidebarWidget $this->template_variables['url_params'] = $query_params; $this->template_variables['method'] = $this->method; - $this->template_variables['id'] = $this->id; foreach ($this->needles as $index => $needle) { if ($needle['quick_search']) { -- cgit v1.0