Commit 30f23047 authored by webchick's avatar webchick
Browse files

Issue #2062315 by k4v, Cottser: Remove unnecessary 'pattern' lines in views_theme().

parent 4431c7e1
...@@ -91,7 +91,6 @@ function views_theme($existing, $type, $theme, $path) { ...@@ -91,7 +91,6 @@ function views_theme($existing, $type, $theme, $path) {
// Our extra version of pager from pager.inc // Our extra version of pager from pager.inc
$hooks['views_mini_pager'] = $base + array( $hooks['views_mini_pager'] = $base + array(
'variables' => array('tags' => array(), 'quantity' => 10, 'element' => 0, 'parameters' => array()), 'variables' => array('tags' => array(), 'quantity' => 10, 'element' => 0, 'parameters' => array()),
'pattern' => 'views_mini_pager__',
); );
$variables = array( $variables = array(
...@@ -110,7 +109,6 @@ function views_theme($existing, $type, $theme, $path) { ...@@ -110,7 +109,6 @@ function views_theme($existing, $type, $theme, $path) {
// Default view themes // Default view themes
$hooks['views_view_field'] = $base + array( $hooks['views_view_field'] = $base + array(
'pattern' => 'views_view_field__',
'variables' => array('view' => NULL, 'field' => NULL, 'row' => NULL), 'variables' => array('view' => NULL, 'field' => NULL, 'row' => NULL),
); );
$hooks['views_view_grouping'] = $base + array( $hooks['views_view_grouping'] = $base + array(
...@@ -130,7 +128,6 @@ function views_theme($existing, $type, $theme, $path) { ...@@ -130,7 +128,6 @@ function views_theme($existing, $type, $theme, $path) {
} }
$hooks[$def['theme']] = array( $hooks[$def['theme']] = array(
'pattern' => $def['theme'] . '__',
'variables' => $variables[$type], 'variables' => $variables[$type],
); );
...@@ -165,7 +162,6 @@ function views_theme($existing, $type, $theme, $path) { ...@@ -165,7 +162,6 @@ function views_theme($existing, $type, $theme, $path) {
$hooks['views_exposed_form'] = $base + array( $hooks['views_exposed_form'] = $base + array(
'template' => 'views-exposed-form', 'template' => 'views-exposed-form',
'pattern' => 'views_exposed_form__',
'render element' => 'form', 'render element' => 'form',
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment