aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-10 14:44:05 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-10 14:44:05 +0000
commit34a2243daf6338fbd8986a77de4568c2ec1f4dc7 (patch)
tree3f0d5fa54f426bf1c6cc5d3527f8ca3f91613da4 /engine/lib
parentb576ff407bef80d344ea3beb69b9973152a3a482 (diff)
downloadelgg-34a2243daf6338fbd8986a77de4568c2ec1f4dc7.tar.gz
elgg-34a2243daf6338fbd8986a77de4568c2ec1f4dc7.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Erp git-svn-id: https://code.elgg.org/elgg/trunk@135 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/sites.php8
1 files changed, 4 insertions, 4 deletions
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.