From 66317fbea078bb9d5dedb9463bef95070525ebb2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 10 Sep 2009 08:43:46 +0000 Subject: - Patch #453588 by alienbrain, Jody Lynn: poll use for hook_link() no longer applies. --- modules/poll/poll.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 3d8d281fa..83f4c0a65 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -569,7 +569,7 @@ function poll_block_latest_poll_view($node) { $node->readmore = FALSE; $node->teaser = ''; - $links = module_invoke_all('link', 'node', $node, 1); + $links = array(); $links[] = array('title' => t('Older polls'), 'href' => 'poll', 'attributes' => array('title' => t('View the list of polls on this site.'))); if ($node->allowvotes) { $links[] = array('title' => t('Results'), 'href' => 'node/' . $node->nid . '/results', 'attributes' => array('title' => t('View the current poll results.'))); -- cgit v1.2.3