From 98f18b6fa309d6a68025699848a0dd5652ac75da Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sun, 10 Apr 2011 03:48:40 +0000 Subject: Fixed #3313: Removed the superfluous html_head/extend view from core. Anyone following trunk should extend page/elements/head instead git-svn-id: http://code.elgg.org/elgg/trunk@8978 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/start.php | 2 +- views/default/page/elements/head.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mod/profile/start.php b/mod/profile/start.php index cc4c74fb2..d91b66371 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -29,7 +29,7 @@ function profile_init() { // Register a page handler, so we can have nice URLs elgg_register_page_handler('profile', 'profile_page_handler'); - elgg_extend_view('html_head/extend', 'profile/metatags'); + elgg_extend_view('page/elements/head', 'profile/metatags'); elgg_extend_view('css/elgg', 'profile/css'); elgg_extend_view('js/elgg', 'profile/js'); diff --git a/views/default/page/elements/head.php b/views/default/page/elements/head.php index 5f9bf4798..048edec40 100644 --- a/views/default/page/elements/head.php +++ b/views/default/page/elements/head.php @@ -70,7 +70,6 @@ echo $feedref; $metatags = elgg_view('metatags', $vars); if ($metatags) { - elgg_deprecated_notice("The metatags view has been deprecated for html_head/extend", 1.8); + elgg_deprecated_notice("The metatags view has been deprecated. Extend page/elements/head instead", 1.8); echo $metatags; -} -echo elgg_view('html_head/extend', $vars); +} \ No newline at end of file -- cgit v1.2.3