From 4e4e2aa7770a43c27a421b3f759160094f7d3191 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 24 Nov 2004 22:50:25 +0000 Subject: - 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. --- includes/common.inc | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 3da8bda85..911549e0c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1577,24 +1577,6 @@ function field_set($string, $name, $value) { return substr($rval, 1); } -/** - * Fetch a set of global navigation links. - * - * The links are gathered by calls to hook_link('page') in each module. - */ -function link_page() { - global $custom_links; - - if (is_array($custom_links)) { - return $custom_links; - } - else { - $links = module_invoke_all('link', 'page'); - array_unshift($links, l(t('home'), '', array('title' => t('Return to the main page.')))); - return $links; - } -} - /** * Perform end-of-request tasks. * -- cgit v1.2.3