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