aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-03-15 11:18:05 -0400
committercash <cash.costello@gmail.com>2013-03-15 11:18:05 -0400
commita2ecf54d56d9f877e6f0f8ac6d841cee6187aac4 (patch)
treeccd5b6029d3f77cc09144132d12fbd2c2e2b0fa4 /engine/lib/views.php
parent4cd8bc8d68008f509ce97b2e31e1e5ccfec7bdf0 (diff)
downloadelgg-a2ecf54d56d9f877e6f0f8ac6d841cee6187aac4.tar.gz
elgg-a2ecf54d56d9f877e6f0f8ac6d841cee6187aac4.tar.bz2
more coding standard fixes
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php20
1 files changed, 11 insertions, 9 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 7d8347863..c4b349fc6 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1107,7 +1107,7 @@ function elgg_view_entity_annotations(ElggEntity $entity, $full_view = true) {
* This is a shortcut for {@elgg_view page/elements/title}.
*
* @param string $title The page title
- * @param array $vars View variables (was submenu be displayed? (deprecated))
+ * @param array $vars View variables (was submenu be displayed? (deprecated))
*
* @return string The HTML (etc)
*/
@@ -1179,7 +1179,7 @@ function elgg_view_comments($entity, $add_comment = true, array $vars = array())
*
* @param string $image The icon and other information
* @param string $body Description content
- * @param array $vars Additional parameters for the view
+ * @param array $vars Additional parameters for the view
*
* @return string
* @since 1.8.0
@@ -1236,15 +1236,17 @@ function elgg_view_river_item($item, array $vars = array()) {
// subject is disabled or subject/object deleted
return '';
}
+
+ // @todo this needs to be cleaned up
// Don't hide objects in closed groups that a user can see.
// see http://trac.elgg.org/ticket/4789
-// else {
-// // hide based on object's container
-// $visibility = ElggGroupItemVisibility::factory($object->container_guid);
-// if ($visibility->shouldHideItems) {
-// return '';
-// }
-// }
+ // else {
+ // // hide based on object's container
+ // $visibility = ElggGroupItemVisibility::factory($object->container_guid);
+ // if ($visibility->shouldHideItems) {
+ // return '';
+ // }
+ // }
$vars['item'] = $item;