From 1429e80a1276a9081e4148076e2eac588e55a439 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 20 Feb 2011 23:06:35 +0000 Subject: Fixes #2970 updated groups, file, pages, and wire plugins for automatic page owner setting git-svn-id: http://code.elgg.org/elgg/trunk@8376 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/start.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'mod/file/start.php') diff --git a/mod/file/start.php b/mod/file/start.php index a70267e47..765ef6b01 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -8,7 +8,7 @@ elgg_register_event_handler('init', 'system', 'file_init'); /** - * File plugin initialisation functions. + * File plugin initialization functions. */ function file_init() { @@ -91,12 +91,9 @@ function file_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 "$file_dir/index.php"; break; case 'friends': - set_input('username', $page[1]); include "$file_dir/friends.php"; break; case 'view': @@ -104,7 +101,6 @@ function file_page_handler($page) { include "$file_dir/view.php"; break; case 'add': - set_input('guid', $page[1]); include "$file_dir/upload.php"; break; case 'edit': @@ -112,7 +108,6 @@ function file_page_handler($page) { include "$file_dir/edit.php"; break; case 'group': - set_input('guid', $page[1]); include "$file_dir/index.php"; break; case 'all': -- cgit v1.2.3