diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-11 14:53:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-11 14:53:39 +0000 |
commit | b647348fa93e7915d9a19dc2f1fd598422dca999 (patch) | |
tree | aa555d21dfef42d3e36867676db3b6a94cabe109 /modules | |
parent | f66e690098fba256001658837d95459c32467356 (diff) | |
download | brdo-b647348fa93e7915d9a19dc2f1fd598422dca999.tar.gz brdo-b647348fa93e7915d9a19dc2f1fd598422dca999.tar.bz2 |
- Patch #767852 by JohnAlbin: remove no-longer-needed theme function wrappers.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/node/node.module | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 665599369..9aa9cd622 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -129,9 +129,6 @@ function node_theme() { 'render element' => 'elements', 'template' => 'node', ), - 'node_list' => array( - 'variables' => array('items' => NULL, 'title' => NULL), - ), 'node_search_admin' => array( 'render element' => 'form', ), @@ -284,16 +281,7 @@ function node_title_list($result, $title = NULL) { $num_rows = TRUE; } - return $num_rows ? theme('node_list', array('items' => $items, 'title' => $title)) : FALSE; -} - -/** - * Format a listing of links to nodes. - * - * @ingroup themeable - */ -function theme_node_list($variables) { - return theme('item_list', $variables); + return $num_rows ? theme('item_list__node', array('items' => $items, 'title' => $title)) : FALSE; } /** |