aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-29 15:57:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-29 15:57:46 -0300
commit0ab6351abb7a602d96c62b0ad35413c88113a6cf (patch)
tree6de0c5ea32a70549627f4514d8dd1f0054452554 /mod/custom_index
parent731e0f0feff53520cf68f8dbcbd0531303716221 (diff)
downloadelgg-0ab6351abb7a602d96c62b0ad35413c88113a6cf.tar.gz
elgg-0ab6351abb7a602d96c62b0ad35413c88113a6cf.tar.bz2
Rollback
Diffstat (limited to 'mod/custom_index')
-rw-r--r--mod/custom_index/index.php5
-rw-r--r--mod/custom_index/views/default/page/layouts/custom_index.php7
2 files changed, 1 insertions, 11 deletions
diff --git a/mod/custom_index/index.php b/mod/custom_index/index.php
index 281a2ca1d..43cab9723 100644
--- a/mod/custom_index/index.php
+++ b/mod/custom_index/index.php
@@ -32,10 +32,6 @@ $thewire = elgg_list_entities($list_params);
$list_params['subtype'] = 'file';
$files = elgg_list_entities($list_params);
-//grab the latest files
-$list_params['subtype'] = 'activity';
-$activities = elgg_list_entities($list_params);
-
//get the newest members who have an avatar
$newest_members = elgg_list_entities_from_metadata(array(
'metadata_names' => 'icontime',
@@ -67,7 +63,6 @@ $params = array(
'login' => $login,
'members' => $newest_members,
'thewire' => $thewire,
- 'activities' => $activities,
);
$body = elgg_view_layout('custom_index', $params);
diff --git a/mod/custom_index/views/default/page/layouts/custom_index.php b/mod/custom_index/views/default/page/layouts/custom_index.php
index 2a05348b3..4f79754b9 100644
--- a/mod/custom_index/views/default/page/layouts/custom_index.php
+++ b/mod/custom_index/views/default/page/layouts/custom_index.php
@@ -58,12 +58,7 @@ echo elgg_view("index/righthandside");
// members
//echo elgg_view_module('featured', elgg_echo("custom:members"), $vars['members'], $mod_params);
-// activities
-if (elgg_is_active_plugin('activity')) {
- echo elgg_view_module('featured', elgg_echo("custom:activities"), $vars['activities'], $mod_params);
-}
-
-// blogs
+// groups
if (elgg_is_active_plugin('blog')) {
echo elgg_view_module('featured', elgg_echo("custom:blogs"), $vars['blogs'], $mod_params);
}