projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6010fd
)
let the array contain the db adapter also
author
Chuck Hagenbuch
<chuck@horde.org>
Sat, 27 Dec 2008 03:59:48 +0000
(22:59 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sat, 27 Dec 2008 03:59:48 +0000
(22:59 -0500)
content/lib/Tagger.php
patch
|
blob
|
history
diff --git
a/content/lib/Tagger.php
b/content/lib/Tagger.php
index
c472c31
..
d697667
100644
(file)
--- 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'];
}