mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Contacts: Add docstring
This commit is contained in:
parent
2e23ba5bb1
commit
221f1bbcdf
@ -238,6 +238,13 @@ class Backend extends \Sabre_CardDAV_Backend_Abstract {
|
||||
return $userid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the backend for an address book
|
||||
*
|
||||
* FIXME: Find a better way to get the right backend if possible.
|
||||
* @param string $addressbookid
|
||||
* @return \OCA\Contacts\Backend\AbstractBackend
|
||||
*/
|
||||
public function getBackendForAddressBook($addressbookid) {
|
||||
foreach($this->backends as $backend) {
|
||||
if($backend->hasAddressBook($addressbookid)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user