diff --git a/lib/classes/sidebar/SearchWidget.php b/lib/classes/sidebar/SearchWidget.php index 39bf1ee94fa3a758529df2b7ffeb6b1b205c520e..2b7979e43d80a2580ea0506e5f31b6406b7bf576 100644 --- a/lib/classes/sidebar/SearchWidget.php +++ b/lib/classes/sidebar/SearchWidget.php @@ -34,24 +34,6 @@ class SearchWidget extends SidebarWidget $this->template = 'sidebar/search-widget'; } - /** - * 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. */ @@ -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']) {