diff options
Diffstat (limited to 'mod/pages')
-rw-r--r-- | mod/pages/friends.php | 3 | ||||
-rw-r--r-- | mod/pages/index.php | 3 | ||||
-rw-r--r-- | mod/pages/start.php | 4 |
3 files changed, 0 insertions, 10 deletions
diff --git a/mod/pages/friends.php b/mod/pages/friends.php index 51c07194f..d851edea3 100644 --- a/mod/pages/friends.php +++ b/mod/pages/friends.php @@ -5,9 +5,6 @@ * @package ElggPages */ -$guid = get_input('guid'); - -elgg_set_page_owner_guid($guid); $owner = elgg_get_page_owner_entity(); if (!$owner) { diff --git a/mod/pages/index.php b/mod/pages/index.php index ff5a78311..6a89e6092 100644 --- a/mod/pages/index.php +++ b/mod/pages/index.php @@ -5,9 +5,6 @@ * @package ElggPages */ -$guid = get_input('guid'); - -elgg_set_page_owner_guid($guid); $owner = elgg_get_page_owner_entity(); if (!$owner) { diff --git a/mod/pages/start.php b/mod/pages/start.php index ec5a8815b..5c9b4bdc7 100644 --- a/mod/pages/start.php +++ b/mod/pages/start.php @@ -113,12 +113,9 @@ function pages_page_handler($page) { $page_type = $page[0]; switch ($page_type) { case 'owner': - $owner = get_user_by_username($page[1]); - set_input('guid', $owner->guid); include "$base_dir/index.php"; break; case 'friends': - set_input('username', $page[1]); include "$base_dir/friends.php"; break; case 'view': @@ -134,7 +131,6 @@ function pages_page_handler($page) { include "$base_dir/edit.php"; break; case 'group': - set_input('guid', $page[1]); include "$base_dir/index.php"; break; case 'history': |