From: Chuck Hagenbuch Date: Mon, 21 Sep 2009 18:54:35 +0000 (-0400) Subject: these still won't work, but at least remove completely deprecated functionality X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=57a4f972e0b973934a6cdb31ad6d6bf697e14e4b;p=horde.git these still won't work, but at least remove completely deprecated functionality --- 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);