summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-26 05:08:43 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-26 05:08:43 +0000
commit03bf3a6af26a5311ab0411616911c443332a8821 (patch)
treee8b6b0f093c2cb721f55268b78a5f9b87cb27446 /modules/tag/helpers
parent9c60566197a1edeb1c7d758886c8d518b5b99388 (diff)
Remove the more or less links
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";