Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jacobSingh/380673 to your computer and use it in GitHub Desktop.
Save jacobSingh/380673 to your computer and use it in GitHub Desktop.
From 0645e3499dfd3084011d22e553bc9c30f3751dbe Mon Sep 17 00:00:00 2001
From: dries <dries>
Date: Sun, 11 Apr 2010 14:53:39 +0000
Subject: [PATCH] - Patch #767852 by JohnAlbin: remove no-longer-needed theme function wrappers.
---
modules/node/node.module | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/modules/node/node.module b/modules/node/node.module
index f3153fc..0e693f9 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1,5 +1,5 @@
<?php
-// $Id: node.module,v 1.1257 2010/04/07 14:36:16 dries Exp $
+// $Id: node.module,v 1.1258 2010/04/11 14:53:39 dries Exp $
/**
* @file
@@ -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;
}
/**
--
1.6.4+GitX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment