Skip to content

Commit

Permalink
Remove some unused references to Database::instance()
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Dec 18, 2009
1 parent 338af4a commit 046382c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/tag/models/tag.php
Expand Up @@ -61,7 +61,6 @@ public function items_count($type=null) {
* event for the union of all related items before and after the save.
*/
public function save() {
$db = Database::instance();
$related_item_ids = array();
foreach (db::build()
->select("item_id")
Expand Down Expand Up @@ -98,8 +97,6 @@ public function save() {
*/
public function delete() {
$related_item_ids = array();
$db = Database::Instance();

foreach (db::build()
->select("item_id")
->from("items_tags")
Expand Down

0 comments on commit 046382c

Please sign in to comment.