From 0d8515deb750fe2a02ee6f9f12860caceed7248f Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 3 Nov 2009 06:47:23 +0000 Subject: #552478 by pwolanin, samj, dropcube, and sun: Improve link/header API and support on node/comment pages rel=canonical and rel=shortlink standards. --- modules/comment/comment.module | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 762c71749..07fd233e3 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -362,9 +362,6 @@ function comment_permalink($comment) { $_GET['q'] = 'node/' . $node->nid; $_GET['page'] = $page; - // Set the node path as the canonical URL to prevent duplicate content. - drupal_add_link(array('rel' => 'canonical', 'href' => url('node/' . $node->nid))); - // Return the node view, this will show the correct comment in context. return menu_execute_active_handler('node/' . $node->nid, FALSE); } -- cgit v1.2.3