From 57a4f972e0b973934a6cdb31ad6d6bf697e14e4b Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Mon, 21 Sep 2009 14:54:35 -0400 Subject: [PATCH] these still won't work, but at least remove completely deprecated functionality --- content/bin/tag.php | 6 +++--- content/bin/untag.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/bin/tag.php b/content/bin/tag.php index 43030d2e0..f88b0df19 100644 --- a/content/bin/tag.php +++ b/content/bin/tag.php @@ -1,7 +1,6 @@ 'int')), @@ -16,6 +15,7 @@ if (!count($tags)) { throw new InvalidArgumentException('List at least one tag to add.'); } -$tagger = new Content_Tagger(array('dbAdapter' => Horde_Db::getAdapter())); +/* @TODO Switch to using the TagController */ +$tagger = new Content_Tagger(); $tagger->tag($opts->user_id, $opts->object_id, $tags); exit(0); diff --git a/content/bin/untag.php b/content/bin/untag.php index 8e38aed8a..78c8bf404 100644 --- a/content/bin/untag.php +++ b/content/bin/untag.php @@ -1,7 +1,6 @@ 'int')), @@ -16,6 +15,7 @@ if (!count($tags)) { throw new InvalidArgumentException('List at least one tag to remove.'); } -$tagger = new Content_Tagger(array('dbAdapter' => Horde_Db::getAdapter())); +/* @TODO Switch to using the TagController */ +$tagger = new Content_Tagger(); $tagger->untag($opts->user_id, $opts->object_id, $tags); exit(0); -- 2.11.0