aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 23:20:41 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 23:20:41 +0000
commite1f6f69e639881496a10a1888b66976c1f581e98 (patch)
treeaa13521bd55694cf84405876e565096e841903ee /mod/pages
parent4dd7d2be5352ac20d3eb2693d78954718c704cbc (diff)
downloadelgg-e1f6f69e639881496a10a1888b66976c1f581e98.tar.gz
elgg-e1f6f69e639881496a10a1888b66976c1f581e98.tar.bz2
Refs #650. Replaced list_annotations() by elgg_list_annotations().
git-svn-id: http://code.elgg.org/elgg/trunk@8187 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages')
-rw-r--r--mod/pages/views/default/pages/sidebar/history.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/pages/views/default/pages/sidebar/history.php b/mod/pages/views/default/pages/sidebar/history.php
index dad06ab4f..beff41e03 100644
--- a/mod/pages/views/default/pages/sidebar/history.php
+++ b/mod/pages/views/default/pages/sidebar/history.php
@@ -8,7 +8,13 @@
$title = elgg_echo('pages:history');
if ($vars['page']) {
- $content = $content = list_annotations($vars['page']->guid, 'page', 20, false);
+ $options = array(
+ 'guid' => $vars['page']->guid,
+ 'annotation_name' => 'page',
+ 'limit' => 20,
+ 'reverse_order_by' => true
+ );
+ $content = elgg_list_annotaitons($options);
}
echo elgg_view_module('aside', $title, $content); \ No newline at end of file