summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment_block.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-25 19:26:52 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-25 19:26:52 -0800
commit0121bfd5850bdc59bf0cd656c61c953421a85890 (patch)
tree439172283f1ae2653407af2b38a3a57895adf104 /modules/comment/helpers/comment_block.php
parent0ef6994f23300f3c6bfb83193b4101202dbc16f8 (diff)
ORM::orderby -> ORM::order_by
Diffstat (limited to 'modules/comment/helpers/comment_block.php')
-rw-r--r--modules/comment/helpers/comment_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php
index 7cd5d429..ab86b90a 100644
--- a/modules/comment/helpers/comment_block.php
+++ b/modules/comment/helpers/comment_block.php
@@ -30,7 +30,7 @@ class comment_block_Core {
$block->title = t("Recent comments");
$block->content = new View("admin_block_recent_comments.html");
$block->content->comments =
- ORM::factory("comment")->orderby("created", "DESC")->limit(5)->find_all();
+ ORM::factory("comment")->order_by("created", "DESC")->limit(5)->find_all();
break;
}