mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Temporary hack to make sharing look workable. Refs #229
This commit is contained in:
parent
a388525111
commit
3ba2913279
@ -54,7 +54,9 @@ class Addressbook implements \OCP\Share_Backend_Collection {
|
||||
|
||||
$user_addressbooks = array();
|
||||
|
||||
foreach($this->backend->getAddressBooksForUser($shareWith) as $user_addressbook) {
|
||||
//foreach($this->backend->getAddressBooksForUser($shareWith) as $user_addressbook) {
|
||||
// FIXME: The backend used is for the current user, not the right one
|
||||
foreach($this->backend->getAddressBooksForUser() as $user_addressbook) {
|
||||
$user_addressbooks[] = $user_addressbook['displayname'];
|
||||
}
|
||||
$name = $addressbook['displayname'] . '(' . $addressbook['userid'] . ')';
|
||||
|
Loading…
x
Reference in New Issue
Block a user