1
0
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:
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(); 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