diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-25 13:44:29 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-28 21:44:01 -0500 |
commit | efd3dbc1537f1af4a1217e0a9179d4ec444f8f6a (patch) | |
tree | 26ecdbaedcf565a5edd2e6ea017acb2ed4ceba7b /mod/groups | |
parent | d9e595ec0e44a4143c5e50eac8a8f83d66c03569 (diff) | |
download | elgg-efd3dbc1537f1af4a1217e0a9179d4ec444f8f6a.tar.gz elgg-efd3dbc1537f1af4a1217e0a9179d4ec444f8f6a.tar.bz2 |
Fixes #4151 removed unnecessary $user definition
Diffstat (limited to 'mod/groups')
-rw-r--r-- | mod/groups/views/default/groups/membershiprequests.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/groups/views/default/groups/membershiprequests.php b/mod/groups/views/default/groups/membershiprequests.php index 9cd28262f..2bac0e32b 100644 --- a/mod/groups/views/default/groups/membershiprequests.php +++ b/mod/groups/views/default/groups/membershiprequests.php @@ -7,7 +7,6 @@ */ if (!empty($vars['requests']) && is_array($vars['requests'])) { - $user = elgg_get_logged_in_user_entity(); echo '<ul class="elgg-list">'; foreach ($vars['requests'] as $user) { $icon = elgg_view_entity_icon($user, 'tiny', array('use_hover' => 'true')); @@ -44,5 +43,5 @@ if (!empty($vars['requests']) && is_array($vars['requests'])) { } echo '</ul>'; } else { - echo '<p class="mtm">' . elgg_echo('groups:requests:none') . "</p>"; + echo '<p class="mtm">' . elgg_echo('groups:requests:none') . '</p>'; } |