aboutsummaryrefslogtreecommitdiff
path: root/mod/file/actions
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-03 01:40:06 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-03 01:40:06 +0000
commite8da61b8e8654caa45a5315ce338886e802f044d (patch)
tree0088c353bd748943036f29e0df9139decb6af29e /mod/file/actions
parent33f7cec924ff46d5f890130393fe023d2ddd6100 (diff)
downloadelgg-e8da61b8e8654caa45a5315ce338886e802f044d.tar.gz
elgg-e8da61b8e8654caa45a5315ce338886e802f044d.tar.bz2
Fixes #3138 using 'all' for group listing urls
git-svn-id: http://code.elgg.org/elgg/trunk@9133 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/actions')
-rw-r--r--mod/file/actions/file/delete.php2
-rw-r--r--mod/file/actions/file/upload.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/file/actions/file/delete.php b/mod/file/actions/file/delete.php
index 622d02277..72585aa36 100644
--- a/mod/file/actions/file/delete.php
+++ b/mod/file/actions/file/delete.php
@@ -27,7 +27,7 @@ if (!$file->delete()) {
}
if (elgg_instanceof($container, 'group')) {
- forward("file/group/$container->guid/owner");
+ forward("file/group/$container->guid/all");
} else {
forward("file/owner/$container->username");
}
diff --git a/mod/file/actions/file/upload.php b/mod/file/actions/file/upload.php
index e04203f67..5d5c28bee 100644
--- a/mod/file/actions/file/upload.php
+++ b/mod/file/actions/file/upload.php
@@ -192,7 +192,7 @@ if ($new_file) {
if (!$ajax) {
$container = get_entity($container_guid);
if (elgg_instanceof($container, 'group')) {
- forward("file/group/$container->guid/owner");
+ forward("file/group/$container->guid/all");
} else {
forward("file/owner/$container->username");
}