1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Finnaly fix permissions

This commit is contained in:
LEDfan 2014-04-02 21:16:08 +02:00
parent 1fa0004492
commit ef12447f8d

View File

@ -100,7 +100,7 @@ class LocalUsers extends AbstractBackend {
return array();
} else {
while($row = $result->fetchRow()){
$row['permissions'] = \OCP\PERMISSION_READ;
$row['permissions'] = \OCP\PERMISSION_READ | \OCP\PERMISSION_UPDATE;
$contacts[] = $row;
}
@ -158,7 +158,7 @@ class LocalUsers extends AbstractBackend {
return array();
} else {
$row = $result->fetchRow();
$row['permissions'] = \OCP\PERMISSION_READ;
$row['permissions'] = \OCP\PERMISSION_READ | \OCP\PERMISSION_UPDATE;
return $row;
}
} catch(\Exception $e) {