diff --git a/core/includes/theme.inc b/core/includes/theme.inc index a6d9362165742850860452ad582d062f65b4c98f..1010c29b0169c0c787d0c04aef0e61ed01eb6023 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -2814,9 +2814,6 @@ function drupal_common_theme() { 'date' => array( 'render element' => 'element', ), - 'exposed_filters' => array( - 'render element' => 'form', - ), 'checkboxes' => array( 'render element' => 'element', ), diff --git a/core/modules/system/system.module b/core/modules/system/system.module index 883faae3b039192e7ca609938970a8e405aa68c7..7f9806a4e933645cfa89f7c454ecc6391dcb55a8 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -3118,40 +3118,6 @@ function theme_system_config_form($variables) { return drupal_render_children($variables['form']); } -/** - * Returns HTML for an exposed filter form. - * - * @param $variables - * An associative array containing: - * - form: An associative array containing the structure of the form. - * - * @return - * A string containing an HTML-formatted form. - * - * @ingroup themeable - */ -function theme_exposed_filters($variables) { - $form = $variables['form']; - $output = ''; - - if (isset($form['current'])) { - $items = array(); - foreach (element_children($form['current']) as $key) { - $items[] = $form['current'][$key]; - } - $item_list = array( - '#theme' => 'item_list', - '#items' => $items, - '#attributes' => array('class' => array('clearfix', 'current-filters')), - ); - $output .= drupal_render($item_list); - } - - $output .= drupal_render_children($form); - - return '
' . $output . '
'; -} - /** * Implements hook_admin_paths(). */