diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-20 23:06:35 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-20 23:06:35 +0000 |
commit | 1429e80a1276a9081e4148076e2eac588e55a439 (patch) | |
tree | 9ebe52aa7a5c056a014187f39a6dc31c730833e7 /mod/file/start.php | |
parent | 02bf9ae5522c752aaa7bfac9b9562c634d35cef4 (diff) | |
download | elgg-1429e80a1276a9081e4148076e2eac588e55a439.tar.gz elgg-1429e80a1276a9081e4148076e2eac588e55a439.tar.bz2 |
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
Diffstat (limited to 'mod/file/start.php')
-rw-r--r-- | mod/file/start.php | 7 |
1 files changed, 1 insertions, 6 deletions
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': |