diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-03 06:47:23 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-03 06:47:23 +0000 |
commit | 0d8515deb750fe2a02ee6f9f12860caceed7248f (patch) | |
tree | 9898c0801cec5188f8e54229a2760a4ff15f44f5 /modules/comment/comment.module | |
parent | 3b2d24af0b8ca83415310e2b328cc60fa830837b (diff) | |
download | brdo-0d8515deb750fe2a02ee6f9f12860caceed7248f.tar.gz brdo-0d8515deb750fe2a02ee6f9f12860caceed7248f.tar.bz2 |
#552478 by pwolanin, samj, dropcube, and sun: Improve link/header API and support on node/comment pages rel=canonical and rel=shortlink standards.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 3 |
1 files changed, 0 insertions, 3 deletions
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); } |