mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Change name of the backend
This commit is contained in:
parent
7b440cb68c
commit
1fa0004492
@ -56,7 +56,7 @@ class App {
|
||||
'ldap' => 'OCA\Contacts\Backend\Ldap',
|
||||
'local' => 'OCA\Contacts\Backend\Database',
|
||||
'shared' => 'OCA\Contacts\Backend\Shared',
|
||||
'owncloudusers' => 'OCA\Contacts\Backend\OwnCloudUsers',
|
||||
'localusers' => 'OCA\Contacts\Backend\LocalUsers',
|
||||
);
|
||||
|
||||
public function __construct(
|
||||
|
@ -34,9 +34,9 @@ use OCA\Contacts\Contact,
|
||||
* Every user has *1* personal addressbook. The id of this addresbook is the
|
||||
* userid of the owner.
|
||||
*/
|
||||
class OwnCloudUsers extends AbstractBackend {
|
||||
class LocalUsers extends AbstractBackend {
|
||||
|
||||
public $name = 'OwnCloudUsers';
|
||||
public $name = 'localusers';
|
||||
|
||||
/**
|
||||
* The table that holds the address books.
|
||||
@ -70,8 +70,8 @@ class OwnCloudUsers extends AbstractBackend {
|
||||
public function getAddressBook($addressBookId, array $options = array()) {
|
||||
$addressbook = array(
|
||||
"id" => $addressBookId,
|
||||
"displayname" => 'ownCloudUsers',
|
||||
"description" => 'ownCloud Users',
|
||||
"displayname" => 'Local Users',
|
||||
"description" => 'Local Users',
|
||||
"ctag" => time(),
|
||||
"permissions" => \OCP\PERMISSION_READ,
|
||||
"backend" => $this->name,
|
Loading…
x
Reference in New Issue
Block a user