Completed
Push — stable13 ( c2000c...4a71b8 )
by Morris
14:12 queued 02:29
created
apps/dav/lib/CardDAV/AddressBook.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,12 +100,12 @@  discard block
 block discarded – undo
100 100
 	}
101 101
 
102 102
 	public function getACL() {
103
-		$acl =  [
103
+		$acl = [
104 104
 			[
105 105
 				'privilege' => '{DAV:}read',
106 106
 				'principal' => $this->getOwner(),
107 107
 				'protected' => true,
108
-			],[
108
+			], [
109 109
 				'privilege' => '{DAV:}write',
110 110
 				'principal' => $this->getOwner(),
111 111
 				'protected' => true,
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 		}
118 118
 
119 119
 		if ($this->getOwner() !== parent::getOwner()) {
120
-			$acl[] =  [
120
+			$acl[] = [
121 121
 					'privilege' => '{DAV:}read',
122 122
 					'principal' => parent::getOwner(),
123 123
 					'protected' => true,
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
 	public function delete() {
178 178
 		if (isset($this->addressBookInfo['{http://owncloud.org/ns}owner-principal'])) {
179
-			$principal = 'principal:' . parent::getOwner();
179
+			$principal = 'principal:'.parent::getOwner();
180 180
 			$shares = $this->carddavBackend->getShares($this->getResourceId());
181 181
 			$shares = array_filter($shares, function($share) use ($principal){
182 182
 				return $share['href'] === $principal;
Please login to merge, or discard this patch.