1
0
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:
LEDfan 2014-04-02 20:37:16 +02:00
parent fa4839c6ae
commit 7b440cb68c

View File

@ -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