diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-02 17:44:39 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-02 17:44:39 -0400 |
commit | 15af429ad8a760179bab0b7ffed546735949f8f6 (patch) | |
tree | f46feb8d467557fdd39b21636b5e37fba49d4481 | |
parent | 30452bdc98cbc7eb913d5790ffb53ecd51615747 (diff) | |
download | elgg-15af429ad8a760179bab0b7ffed546735949f8f6.tar.gz elgg-15af429ad8a760179bab0b7ffed546735949f8f6.tar.bz2 |
Fixes #4536 removes use of deprecated list_annotations() from pages plugin
-rw-r--r-- | mod/pages/pages/pages/history.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/pages/pages/pages/history.php b/mod/pages/pages/pages/history.php index a63b37a7a..872596179 100644 --- a/mod/pages/pages/pages/history.php +++ b/mod/pages/pages/pages/history.php @@ -30,7 +30,12 @@ elgg_push_breadcrumb(elgg_echo('pages:history')); $title = $page->title . ": " . elgg_echo('pages:history'); -$content = list_annotations($page_guid, 'page', 20, false); +$content = elgg_list_annotations(array( + 'guid' => $page_guid, + 'annotation_name' => 'page', + 'limit' => 20, + 'order_by' => "n_table.time_created desc" +)); $body = elgg_view_layout('content', array( 'filter' => '', |