From 34a2243daf6338fbd8986a77de4568c2ec1f4dc7 Mon Sep 17 00:00:00 2001 From: icewing Date: Mon, 10 Mar 2008 14:44:05 +0000 Subject: Marcus Povey * Erp git-svn-id: https://code.elgg.org/elgg/trunk@135 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/sites.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/lib/sites.php') diff --git a/engine/lib/sites.php b/engine/lib/sites.php index 2d5b589a7..f78449920 100644 --- a/engine/lib/sites.php +++ b/engine/lib/sites.php @@ -514,7 +514,7 @@ * @param string $name * @param int $site_id */ - function get_site_annotations_avg($name, $site_id) { return get_annotations_avg($object_id, $object_type, $name); } + function get_site_annotations_avg($name, $site_id) { return get_annotations_avg($site_id, 'site', $name); } /** * Get the sum of integer type annotations of a given type. @@ -522,7 +522,7 @@ * @param string $name * @param int $site_id */ - function get_site_annotations_sum($name, $site_id) { return get_annotations_sum($object_id, $object_type, $name); } + function get_site_annotations_sum($name, $site_id) { return get_annotations_sum($site_id, 'site', $name); } /** * Get the min of integer type annotations of a given type. @@ -530,7 +530,7 @@ * @param string $name * @param int $site_id */ - function get_site_annotations_min($name, $site_id) { return get_annotations_min($object_id, $object_type, $name); } + function get_site_annotations_min($name, $site_id) { return get_annotations_min($site_id, 'site', $name); } /** * Get the max of integer type annotations of a given type. @@ -538,7 +538,7 @@ * @param string $name * @param int $site_id */ - function get_site_annotations_max($name, $site_id) { return get_annotations_max($object_id, $object_type, $name); } + function get_site_annotations_max($name, $site_id) { return get_annotations_max($site_id, 'site', $name); } /** * Remove all site annotations, or site annotations of a given type. -- cgit v1.2.3