aboutsummaryrefslogtreecommitdiff
path: root/mod/file/pages/file/owner.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-23 00:02:33 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-23 00:02:33 +0000
commit250e367c61b55ee4399e2b4ee49b940512b24b53 (patch)
tree37c7d96f1d3ef1ab6ed9b9e0da533288b4abf0e5 /mod/file/pages/file/owner.php
parent8f6acf45e0a371806424f51e19a08bc3edb44e75 (diff)
downloadelgg-250e367c61b55ee4399e2b4ee49b940512b24b53.tar.gz
elgg-250e367c61b55ee4399e2b4ee49b940512b24b53.tar.bz2
Fixes #3218 group content pages now use container method to determine who can add content
git-svn-id: http://code.elgg.org/elgg/trunk@8818 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/pages/file/owner.php')
-rw-r--r--mod/file/pages/file/owner.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/mod/file/pages/file/owner.php b/mod/file/pages/file/owner.php
index b7bfb00f8..69ec30425 100644
--- a/mod/file/pages/file/owner.php
+++ b/mod/file/pages/file/owner.php
@@ -29,18 +29,6 @@ if ($owner->guid == elgg_get_logged_in_user_guid()) {
// group files
$title = elgg_echo("file:user", array($owner->name));
$params['filter'] = '';
- if ($owner->isMember(elgg_get_logged_in_user_entity())) {
- $url = "file/add/$owner->guid";
- $vars = array(
- 'href' => $url,
- 'text' => elgg_echo("file:add"),
- 'class' => 'elgg-button elgg-button-action',
- );
- $button = elgg_view('output/url', $vars);
- $params['buttons'] = $button;
- } else {
- $params['buttons'] = '';
- }
}
// List files