summaryrefslogtreecommitdiff
path: root/modules/tag
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-25 19:25:34 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-25 19:25:34 -0800
commit0ef6994f23300f3c6bfb83193b4101202dbc16f8 (patch)
tree2afa6b5f325593d4e18d89c57253baff4cd1ab9a /modules/tag
parentccb0ea3d30a114c069240453d7d85f18328db6e5 (diff)
ORM::orderby -> ORM::order_by
Diffstat (limited to 'modules/tag')
-rw-r--r--modules/tag/helpers/tag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php
index 8558ac30..8694bcec 100644
--- a/modules/tag/helpers/tag.php
+++ b/modules/tag/helpers/tag.php
@@ -57,7 +57,7 @@ class tag_Core {
*/
static function popular_tags($count) {
return ORM::factory("tag")
- ->orderby("count", "DESC")
+ ->order_by("count", "DESC")
->limit($count)
->find_all();
}