aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-21 21:52:50 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-21 21:52:50 +0000
commitd67eacb232fdb8c9c68deb35c0dad3007c877718 (patch)
tree49a1d5a58e16060d89b8781aae99457866749fca /mod
parent1153b8281f6a3277008006d5a3f77cf6d87e0ca5 (diff)
downloadelgg-d67eacb232fdb8c9c68deb35c0dad3007c877718.tar.gz
elgg-d67eacb232fdb8c9c68deb35c0dad3007c877718.tar.bz2
Rolling back previous commit as we will be using a hook instead of extending views.
git-svn-id: http://code.elgg.org/elgg/trunk@6129 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/pages/start.php1
-rw-r--r--mod/pages/views/default/pages/profile_extend.php9
2 files changed, 0 insertions, 10 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index b0b16d0a3..b029dbfd7 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -43,7 +43,6 @@
elgg_extend_view('css','pages/css');
elgg_extend_view('groups/menu/links', 'pages/menu'); // Add to groups context
elgg_extend_view('groups/right_column', 'pages/groupprofile_pages'); // Add to groups context
- elgg_extend_view('owner_block/profile_extend', 'pages/profile_extend');
// Register entity type
register_entity_type('object','page');
diff --git a/mod/pages/views/default/pages/profile_extend.php b/mod/pages/views/default/pages/profile_extend.php
deleted file mode 100644
index c0b97481a..000000000
--- a/mod/pages/views/default/pages/profile_extend.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-/**
- *
- */
-
-$url = "{$CONFIG->url}pg/pages/owned/{$page_owner->username}";
-$pages = elgg_echo('pages');
-
-echo "<div class=\"profile\"><a href=\"$url\">$pages</a></div>";