projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee5c19
)
use friends driver directly
author
Duck (Jakob Munih)
<duck@obala.net>
Sun, 22 Feb 2009 21:13:48 +0000
(22:13 +0100)
committer
Duck (Jakob Munih)
<duck@obala.net>
Sun, 22 Feb 2009 21:13:48 +0000
(22:13 +0100)
folks/lib/Block/friends.php
patch
|
blob
|
history
diff --git
a/folks/lib/Block/friends.php
b/folks/lib/Block/friends.php
index
107285b
..
3a75348
100644
(file)
--- a/
folks/lib/Block/friends.php
+++ b/
folks/lib/Block/friends.php
@@
-45,8
+45,10
@@
class Horde_Block_Folks_friends extends Horde_Block {
function _content()
{
require_once dirname(__FILE__) . '/../base.php';
+ require_once FOLKS_BASE . '/lib/Friends.php';
- $friends = $GLOBALS['folks_driver']->getFriends(Auth::getAuth());
+ $friends_driver = Folks_Friends::singleton();
+ $friends = $friends_driver->getFriends();
if ($friends instanceof PEAR_Error) {
return $friends;
}