aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/river.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-16 10:18:15 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-16 10:18:15 +0000
commitafe892810e6736739df91e6618399160690b606b (patch)
tree9ef7231e3cd3180cb97197c1c4a96012e295159c /engine/lib/river.php
parentd74b31b629b88cca8bd6c9d8a2e501f29bfbd825 (diff)
downloadelgg-afe892810e6736739df91e6618399160690b606b.tar.gz
elgg-afe892810e6736739df91e6618399160690b606b.tar.bz2
River performance tweak
git-svn-id: https://code.elgg.org/elgg/trunk@2266 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/river.php')
-rw-r--r--engine/lib/river.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 36e9b9eb1..0952ad965 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -161,7 +161,8 @@
// Get all potential river events from available view
$river_events = array();
- foreach (elgg_view_tree('river') as $view)
+ $river_views = elgg_view_tree('river');
+ foreach ($river_views as $view)
{
$fragments = explode('/', $view);