aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/endpoint
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 01:36:31 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 01:36:31 +0000
commitce9103a0bcb606cc6b8b177c2244efdc17c9b547 (patch)
tree217877ac7b6674d7b3385d6169bf72094a2fb2a8 /mod/riverdashboard/endpoint
parentbc21e6778ffd5b4b4f2828fd720dc6590870f46f (diff)
downloadelgg-ce9103a0bcb606cc6b8b177c2244efdc17c9b547.tar.gz
elgg-ce9103a0bcb606cc6b8b177c2244efdc17c9b547.tar.bz2
updated riverdashboard to load the river item class
git-svn-id: http://code.elgg.org/elgg/trunk@7651 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/endpoint')
-rw-r--r--mod/riverdashboard/endpoint/ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/riverdashboard/endpoint/ping.php b/mod/riverdashboard/endpoint/ping.php
index 239582bf2..94c6fe377 100644
--- a/mod/riverdashboard/endpoint/ping.php
+++ b/mod/riverdashboard/endpoint/ping.php
@@ -21,7 +21,7 @@ $last_reload = time() - $seconds_passed;
// @todo Remove this when elgg_get_river-items() supports 1.7-style API and count => TRUE and not group by object_guid
// river table does not have columns expected by get_access_sql_suffix so we modify its output
-$access = str_replace("and enabled='yes'", '', str_replace('owner_guid', 'subject_guid', get_access_sql_suffix_new('r', 'e')));
+$access = str_replace("and enabled='yes'", '', str_replace('owner_guid', 'subject_guid', riverdashboard_get_access_sql_suffix('r', 'e')));
$q = "SELECT COUNT(id) as all_activity FROM {$CONFIG->dbprefix}river r, {$CONFIG->dbprefix}entities e
WHERE r.posted > $last_reload AND r.object_guid = e.guid AND ($access)";