From ce9103a0bcb606cc6b8b177c2244efdc17c9b547 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 17 Dec 2010 01:36:31 +0000 Subject: updated riverdashboard to load the river item class git-svn-id: http://code.elgg.org/elgg/trunk@7651 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/riverdashboard/endpoint/ping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/riverdashboard/endpoint') 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)"; -- cgit v1.2.3