aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/riverdashboard/index.php7
-rw-r--r--mod/riverdashboard/views/default/settings/riverdashboard/edit.php8
2 files changed, 1 insertions, 14 deletions
diff --git a/mod/riverdashboard/index.php b/mod/riverdashboard/index.php
index 61142f300..4f13e323e 100644
--- a/mod/riverdashboard/index.php
+++ b/mod/riverdashboard/index.php
@@ -44,12 +44,7 @@ switch($orient) {
$title = elgg_view_title($title_wording);
-//select the correct river
-if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic') {
- $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, true);
-} else {
- $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, false);
-}
+$river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, false);
// Replacing callback calls in the nav with something meaningless
$river = str_replace('callback=true','replaced=88,334',$river);
diff --git a/mod/riverdashboard/views/default/settings/riverdashboard/edit.php b/mod/riverdashboard/views/default/settings/riverdashboard/edit.php
deleted file mode 100644
index 281ac2f71..000000000
--- a/mod/riverdashboard/views/default/settings/riverdashboard/edit.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
-<p>
- <?php echo elgg_echo('river:type'); ?>
- <select name="params[activitytype]">
- <option value="classic" <?php if ($vars['entity']->activitytype == 'classic') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('river:classic'); ?></option>
- <option value="clustered" <?php if ($vars['entity']->activitytype == 'clustered') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('river:clustered'); ?></option>
- </select>
-</p> \ No newline at end of file