@@ -772,7 +772,7 @@ function createCalendar($principalUri, $calendarUri, array $properties) {
772772 [
773773 'calendarId ' => $ calendarId ,
774774 'calendarData ' => $ this ->getCalendarById ($ calendarId ),
775- ]));
775+ ]));
776776
777777 return $ calendarId ;
778778 }
@@ -833,7 +833,7 @@ function updateCalendar($calendarId, PropPatch $propPatch) {
833833 'calendarData ' => $ this ->getCalendarById ($ calendarId ),
834834 'shares ' => $ this ->getShares ($ calendarId ),
835835 'propertyMutations ' => $ mutations ,
836- ]));
836+ ]));
837837
838838 return true ;
839839 });
@@ -852,7 +852,7 @@ function deleteCalendar($calendarId) {
852852 'calendarId ' => $ calendarId ,
853853 'calendarData ' => $ this ->getCalendarById ($ calendarId ),
854854 'shares ' => $ this ->getShares ($ calendarId ),
855- ]));
855+ ]));
856856
857857 $ stmt = $ this ->db ->prepare ('DELETE FROM `*PREFIX*calendarobjects` WHERE `calendarid` = ? AND `calendartype` = ? ' );
858858 $ stmt ->execute ([$ calendarId , self ::CALENDAR_TYPE_CALENDAR ]);
@@ -2095,11 +2095,11 @@ function getSchedulingObject($principalUri, $objectUri) {
20952095 }
20962096
20972097 return [
2098- 'uri ' => $ row ['uri ' ],
2099- 'calendardata ' => $ row ['calendardata ' ],
2100- 'lastmodified ' => $ row ['lastmodified ' ],
2101- 'etag ' => '" ' . $ row ['etag ' ] . '" ' ,
2102- 'size ' => (int )$ row ['size ' ],
2098+ 'uri ' => $ row ['uri ' ],
2099+ 'calendardata ' => $ row ['calendardata ' ],
2100+ 'lastmodified ' => $ row ['lastmodified ' ],
2101+ 'etag ' => '" ' . $ row ['etag ' ] . '" ' ,
2102+ 'size ' => (int )$ row ['size ' ],
21032103 ];
21042104 }
21052105
@@ -2124,11 +2124,11 @@ function getSchedulingObjects($principalUri) {
21242124 $ result = [];
21252125 foreach ($ stmt ->fetchAll (\PDO ::FETCH_ASSOC ) as $ row ) {
21262126 $ result [] = [
2127- 'calendardata ' => $ row ['calendardata ' ],
2128- 'uri ' => $ row ['uri ' ],
2129- 'lastmodified ' => $ row ['lastmodified ' ],
2130- 'etag ' => '" ' . $ row ['etag ' ] . '" ' ,
2131- 'size ' => (int )$ row ['size ' ],
2127+ 'calendardata ' => $ row ['calendardata ' ],
2128+ 'uri ' => $ row ['uri ' ],
2129+ 'lastmodified ' => $ row ['lastmodified ' ],
2130+ 'etag ' => '" ' . $ row ['etag ' ] . '" ' ,
2131+ 'size ' => (int )$ row ['size ' ],
21322132 ];
21332133 }
21342134
0 commit comments