diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-11-23 23:11:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-11-23 23:11:59 +0000 |
commit | 30110a87701149dd23f250354266159ea3e07c35 (patch) | |
tree | 775143b1e81d7ca56df00f29a576e90218545f56 /modules/poll | |
parent | 9574766ad8f8810baf42a81ae105984254f0fc0a (diff) | |
download | brdo-30110a87701149dd23f250354266159ea3e07c35.tar.gz brdo-30110a87701149dd23f250354266159ea3e07c35.tar.bz2 |
- Patch #6166 by Moshe: node preview should not display links. Push the links to the theme instead of the theme having to pull them in using node_link().
TODO:
1. Update theme upgrade instructions in the handbook: node_link() is gone.
2. Remove page_link() just like we removed node_link().
Diffstat (limited to 'modules/poll')
-rw-r--r-- | modules/poll/poll.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 2c078f629..f55cacabf 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -435,7 +435,7 @@ function poll_view(&$node, $teaser = FALSE, $page = FALSE, $block = FALSE) { // No 'read more' link $node->body = $node->teaser = ''; - $links = link_node($node, $main); + $links = module_invoke_all('link', 'node', $node, 0); $links[] = l(t('older polls'), 'poll', array('title' => t('View the list of polls on this site.'))); if ($node->allowvotes && $block) { $links[] = l(t('results'), 'node/'. $node->nid .'/results', array('title' => t('View the current poll results.'))); |