diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-11-24 22:56:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-11-24 22:56:21 +0000 |
commit | 4726c93156e59e0b44faf55845c3f97cf00a9168 (patch) | |
tree | 1aa1e96b3bd00735c1fd3663502a920a2e01f2e5 /modules/poll.module | |
parent | 4e4e2aa7770a43c27a421b3f759160094f7d3191 (diff) | |
download | brdo-4726c93156e59e0b44faf55845c3f97cf00a9168.tar.gz brdo-4726c93156e59e0b44faf55845c3f97cf00a9168.tar.bz2 |
- Patch #13443 by Moshe: got rid of the semi-implemented 'page link' feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly.
Diffstat (limited to 'modules/poll.module')
-rw-r--r-- | modules/poll.module | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/poll.module b/modules/poll.module index f55cacabf..bb9505962 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -180,19 +180,6 @@ function poll_insert($node) { } /** - * Implementation of hook_link(). - */ -function poll_link($type, $node = 0, $main) { - $links = array(); - - if ($type == 'page' && user_access('access content')) { - $links[] = l(t('polls'), 'poll', array('title' => t('View the list of polls on this site.'))); - } - - return $links; -} - -/** * Implementation of hook_menu(). */ function poll_menu($may_cache) { |