summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag.php3
-rw-r--r--modules/tag/helpers/tag_block.php5
2 files changed, 1 insertions, 7 deletions
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php
index 70448527..4e3c0643 100644
--- a/modules/tag/helpers/tag.php
+++ b/modules/tag/helpers/tag.php
@@ -60,10 +60,9 @@ class tag_Core {
* array("id" => "tag_id", "name" => "tag_name", "count" => "frequency",
* "class" => "bucket")
*/
- public static function load_buckets($filter=1) {
+ public static function load_buckets() {
$tag_list = array();
$tags = ORM::factory("tag")
- ->where("count >=", $filter)
->orderby("count", "ASC")
->find_all()
->as_array();
diff --git a/modules/tag/helpers/tag_block.php b/modules/tag/helpers/tag_block.php
index 23a9e276..6adf5ca6 100644
--- a/modules/tag/helpers/tag_block.php
+++ b/modules/tag/helpers/tag_block.php
@@ -19,11 +19,6 @@
*/
class tag_block_Core {
- public static function head($theme) {
- $url = url::file("modules/tag/js/tag.js");
- return "<script src=\"$url\" type=\"text/javascript\"></script>";
- }
-
public static function sidebar_blocks($theme, $filter=1) {
$block = new Block();
$block->id = "gTag";