summaryrefslogtreecommitdiff
path: root/modules/tag/models
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-01-30 20:52:25 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-01-30 20:52:25 +0000
commit38cf6ca403b485644405b8ec39af334a877e58b2 (patch)
treed8da46a1a2e5e834ac9f98d5e716f7da2010d764 /modules/tag/models
parentb925d9da5320790d7a1e6aaa7d6d80b1eea1a67d (diff)
The start of the notification module. At this point, the icon has been added to the item menu in the sidebar (both photo and album). There is a corresponding icon in themes/default/images that needs to be spruced up. You can add and remove notifications to albums and photos, but nothing happens under the covers for event handling.
Diffstat (limited to 'modules/tag/models')
-rw-r--r--modules/tag/models/tag.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php
index 2a728131..0718710d 100644
--- a/modules/tag/models/tag.php
+++ b/modules/tag/models/tag.php
@@ -39,7 +39,7 @@ class Tag_Model extends ORM {
$model->where("items.type", $type);
}
return $model->find_all($limit, $offset);
- }
+ }
/**
* Return the count of all viewable items associated with this tag.
@@ -52,5 +52,5 @@ class Tag_Model extends ORM {
->join("items_tags", "items.id", "items_tags.item_id")
->where("items_tags.tag_id", $this->id)
->count_all();
- }
+ }
} \ No newline at end of file