mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Remove create function
This commit is contained in:
parent
fa4839c6ae
commit
7b440cb68c
@ -100,7 +100,7 @@ class OwnCloudUsers extends AbstractBackend {
|
||||
return array();
|
||||
} else {
|
||||
while($row = $result->fetchRow()){
|
||||
$row['permissions'] = \OCP\PERMISSION_UPDATE;
|
||||
$row['permissions'] = \OCP\PERMISSION_READ;
|
||||
$contacts[] = $row;
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ class OwnCloudUsers extends AbstractBackend {
|
||||
return array();
|
||||
} else {
|
||||
$row = $result->fetchRow();
|
||||
$row['permissions'] = \OCP\PERMISSION_UPDATE;
|
||||
$row['permissions'] = \OCP\PERMISSION_READ;
|
||||
return $row;
|
||||
}
|
||||
} catch(\Exception $e) {
|
||||
@ -168,11 +168,6 @@ class OwnCloudUsers extends AbstractBackend {
|
||||
}
|
||||
}
|
||||
|
||||
// Not needed since there is only one addressbook for every user
|
||||
public function createAddressBook(array $properties) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Help function to add contacts to an addressbook.
|
||||
* This only happens when an admin creates new users
|
||||
|
Loading…
Reference in New Issue
Block a user