From: Chuck Hagenbuch Date: Sat, 27 Dec 2008 03:59:48 +0000 (-0500) Subject: let the array contain the db adapter also X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=076e451c710faa4bcabdf94ce77209034c2d7365;p=horde.git let the array contain the db adapter also --- diff --git a/content/lib/Tagger.php b/content/lib/Tagger.php index c472c31a0..d697667ef 100644 --- a/content/lib/Tagger.php +++ b/content/lib/Tagger.php @@ -79,6 +79,10 @@ class Content_Tagger */ public function __construct($context = array()) { + if (!empty($context['dbAdapter'])) { + $this->_db = $context['dbAdapter']; + } + if (!empty($context['userManager'])) { $this->_userManager = $context['userManager']; }