Completed
Pull Request — master (#10059)
by Georg
21:09
created
apps/dav/composer/composer/autoload_static.php 1 patch
Spacing   +173 added lines, -173 removed lines patch added patch discarded remove patch
@@ -6,192 +6,192 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitDAV
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\DAV\\' => 8,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\DAV\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'OCA\\DAV\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
25
-        'OCA\\DAV\\AppInfo\\PluginManager' => __DIR__ . '/..' . '/../lib/AppInfo/PluginManager.php',
26
-        'OCA\\DAV\\Avatars\\AvatarHome' => __DIR__ . '/..' . '/../lib/Avatars/AvatarHome.php',
27
-        'OCA\\DAV\\Avatars\\AvatarNode' => __DIR__ . '/..' . '/../lib/Avatars/AvatarNode.php',
28
-        'OCA\\DAV\\Avatars\\RootCollection' => __DIR__ . '/..' . '/../lib/Avatars/RootCollection.php',
29
-        'OCA\\DAV\\BackgroundJob\\CleanupDirectLinksJob' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupDirectLinksJob.php',
30
-        'OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob' => __DIR__ . '/..' . '/../lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php',
31
-        'OCA\\DAV\\BackgroundJob\\RefreshWebcalJob' => __DIR__ . '/..' . '/../lib/BackgroundJob/RefreshWebcalJob.php',
32
-        'OCA\\DAV\\BackgroundJob\\UpdateCalendarResourcesRoomsBackgroundJob' => __DIR__ . '/..' . '/../lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php',
33
-        'OCA\\DAV\\CalDAV\\Activity\\Backend' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Backend.php',
34
-        'OCA\\DAV\\CalDAV\\Activity\\Filter\\Calendar' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Filter/Calendar.php',
35
-        'OCA\\DAV\\CalDAV\\Activity\\Filter\\Todo' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Filter/Todo.php',
36
-        'OCA\\DAV\\CalDAV\\Activity\\Provider\\Base' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Provider/Base.php',
37
-        'OCA\\DAV\\CalDAV\\Activity\\Provider\\Calendar' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Provider/Calendar.php',
38
-        'OCA\\DAV\\CalDAV\\Activity\\Provider\\Event' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Provider/Event.php',
39
-        'OCA\\DAV\\CalDAV\\Activity\\Provider\\Todo' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Provider/Todo.php',
40
-        'OCA\\DAV\\CalDAV\\Activity\\Setting\\Calendar' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Setting/Calendar.php',
41
-        'OCA\\DAV\\CalDAV\\Activity\\Setting\\Event' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Setting/Event.php',
42
-        'OCA\\DAV\\CalDAV\\Activity\\Setting\\Todo' => __DIR__ . '/..' . '/../lib/CalDAV/Activity/Setting/Todo.php',
43
-        'OCA\\DAV\\CalDAV\\BirthdayCalendar\\EnablePlugin' => __DIR__ . '/..' . '/../lib/CalDAV/BirthdayCalendar/EnablePlugin.php',
44
-        'OCA\\DAV\\CalDAV\\BirthdayService' => __DIR__ . '/..' . '/../lib/CalDAV/BirthdayService.php',
45
-        'OCA\\DAV\\CalDAV\\CachedSubscription' => __DIR__ . '/..' . '/../lib/CalDAV/CachedSubscription.php',
46
-        'OCA\\DAV\\CalDAV\\CachedSubscriptionObject' => __DIR__ . '/..' . '/../lib/CalDAV/CachedSubscriptionObject.php',
47
-        'OCA\\DAV\\CalDAV\\CalDavBackend' => __DIR__ . '/..' . '/../lib/CalDAV/CalDavBackend.php',
48
-        'OCA\\DAV\\CalDAV\\Calendar' => __DIR__ . '/..' . '/../lib/CalDAV/Calendar.php',
49
-        'OCA\\DAV\\CalDAV\\CalendarHome' => __DIR__ . '/..' . '/../lib/CalDAV/CalendarHome.php',
50
-        'OCA\\DAV\\CalDAV\\CalendarImpl' => __DIR__ . '/..' . '/../lib/CalDAV/CalendarImpl.php',
51
-        'OCA\\DAV\\CalDAV\\CalendarManager' => __DIR__ . '/..' . '/../lib/CalDAV/CalendarManager.php',
52
-        'OCA\\DAV\\CalDAV\\CalendarObject' => __DIR__ . '/..' . '/../lib/CalDAV/CalendarObject.php',
53
-        'OCA\\DAV\\CalDAV\\CalendarRoot' => __DIR__ . '/..' . '/../lib/CalDAV/CalendarRoot.php',
54
-        'OCA\\DAV\\CalDAV\\Plugin' => __DIR__ . '/..' . '/../lib/CalDAV/Plugin.php',
55
-        'OCA\\DAV\\CalDAV\\Principal\\Collection' => __DIR__ . '/..' . '/../lib/CalDAV/Principal/Collection.php',
56
-        'OCA\\DAV\\CalDAV\\Principal\\User' => __DIR__ . '/..' . '/../lib/CalDAV/Principal/User.php',
57
-        'OCA\\DAV\\CalDAV\\PublicCalendar' => __DIR__ . '/..' . '/../lib/CalDAV/PublicCalendar.php',
58
-        'OCA\\DAV\\CalDAV\\PublicCalendarObject' => __DIR__ . '/..' . '/../lib/CalDAV/PublicCalendarObject.php',
59
-        'OCA\\DAV\\CalDAV\\PublicCalendarRoot' => __DIR__ . '/..' . '/../lib/CalDAV/PublicCalendarRoot.php',
60
-        'OCA\\DAV\\CalDAV\\Publishing\\PublishPlugin' => __DIR__ . '/..' . '/../lib/CalDAV/Publishing/PublishPlugin.php',
61
-        'OCA\\DAV\\CalDAV\\Publishing\\Xml\\Publisher' => __DIR__ . '/..' . '/../lib/CalDAV/Publishing/Xml/Publisher.php',
62
-        'OCA\\DAV\\CalDAV\\ResourceBooking\\AbstractPrincipalBackend' => __DIR__ . '/..' . '/../lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php',
63
-        'OCA\\DAV\\CalDAV\\ResourceBooking\\ResourcePrincipalBackend' => __DIR__ . '/..' . '/../lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php',
64
-        'OCA\\DAV\\CalDAV\\ResourceBooking\\RoomPrincipalBackend' => __DIR__ . '/..' . '/../lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php',
65
-        'OCA\\DAV\\CalDAV\\Schedule\\IMipPlugin' => __DIR__ . '/..' . '/../lib/CalDAV/Schedule/IMipPlugin.php',
66
-        'OCA\\DAV\\CalDAV\\Schedule\\Plugin' => __DIR__ . '/..' . '/../lib/CalDAV/Schedule/Plugin.php',
67
-        'OCA\\DAV\\CalDAV\\Search\\SearchPlugin' => __DIR__ . '/..' . '/../lib/CalDAV/Search/SearchPlugin.php',
68
-        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\CompFilter' => __DIR__ . '/..' . '/../lib/CalDAV/Search/Xml/Filter/CompFilter.php',
69
-        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\LimitFilter' => __DIR__ . '/..' . '/../lib/CalDAV/Search/Xml/Filter/LimitFilter.php',
70
-        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\OffsetFilter' => __DIR__ . '/..' . '/../lib/CalDAV/Search/Xml/Filter/OffsetFilter.php',
71
-        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\ParamFilter' => __DIR__ . '/..' . '/../lib/CalDAV/Search/Xml/Filter/ParamFilter.php',
72
-        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\PropFilter' => __DIR__ . '/..' . '/../lib/CalDAV/Search/Xml/Filter/PropFilter.php',
73
-        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\SearchTermFilter' => __DIR__ . '/..' . '/../lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php',
74
-        'OCA\\DAV\\CalDAV\\Search\\Xml\\Request\\CalendarSearchReport' => __DIR__ . '/..' . '/../lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php',
75
-        'OCA\\DAV\\CalDAV\\WebcalCaching\\Plugin' => __DIR__ . '/..' . '/../lib/CalDAV/WebcalCaching/Plugin.php',
76
-        'OCA\\DAV\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
77
-        'OCA\\DAV\\CardDAV\\AddressBook' => __DIR__ . '/..' . '/../lib/CardDAV/AddressBook.php',
78
-        'OCA\\DAV\\CardDAV\\AddressBookImpl' => __DIR__ . '/..' . '/../lib/CardDAV/AddressBookImpl.php',
79
-        'OCA\\DAV\\CardDAV\\AddressBookRoot' => __DIR__ . '/..' . '/../lib/CardDAV/AddressBookRoot.php',
80
-        'OCA\\DAV\\CardDAV\\CardDavBackend' => __DIR__ . '/..' . '/../lib/CardDAV/CardDavBackend.php',
81
-        'OCA\\DAV\\CardDAV\\ContactsManager' => __DIR__ . '/..' . '/../lib/CardDAV/ContactsManager.php',
82
-        'OCA\\DAV\\CardDAV\\Converter' => __DIR__ . '/..' . '/../lib/CardDAV/Converter.php',
83
-        'OCA\\DAV\\CardDAV\\ImageExportPlugin' => __DIR__ . '/..' . '/../lib/CardDAV/ImageExportPlugin.php',
84
-        'OCA\\DAV\\CardDAV\\PhotoCache' => __DIR__ . '/..' . '/../lib/CardDAV/PhotoCache.php',
85
-        'OCA\\DAV\\CardDAV\\Plugin' => __DIR__ . '/..' . '/../lib/CardDAV/Plugin.php',
86
-        'OCA\\DAV\\CardDAV\\SyncService' => __DIR__ . '/..' . '/../lib/CardDAV/SyncService.php',
87
-        'OCA\\DAV\\CardDAV\\UserAddressBooks' => __DIR__ . '/..' . '/../lib/CardDAV/UserAddressBooks.php',
88
-        'OCA\\DAV\\CardDAV\\Xml\\Groups' => __DIR__ . '/..' . '/../lib/CardDAV/Xml/Groups.php',
89
-        'OCA\\DAV\\Command\\CreateAddressBook' => __DIR__ . '/..' . '/../lib/Command/CreateAddressBook.php',
90
-        'OCA\\DAV\\Command\\CreateCalendar' => __DIR__ . '/..' . '/../lib/Command/CreateCalendar.php',
91
-        'OCA\\DAV\\Command\\RemoveInvalidShares' => __DIR__ . '/..' . '/../lib/Command/RemoveInvalidShares.php',
92
-        'OCA\\DAV\\Command\\SyncBirthdayCalendar' => __DIR__ . '/..' . '/../lib/Command/SyncBirthdayCalendar.php',
93
-        'OCA\\DAV\\Command\\SyncSystemAddressBook' => __DIR__ . '/..' . '/../lib/Command/SyncSystemAddressBook.php',
94
-        'OCA\\DAV\\Comments\\CommentNode' => __DIR__ . '/..' . '/../lib/Comments/CommentNode.php',
95
-        'OCA\\DAV\\Comments\\CommentsPlugin' => __DIR__ . '/..' . '/../lib/Comments/CommentsPlugin.php',
96
-        'OCA\\DAV\\Comments\\EntityCollection' => __DIR__ . '/..' . '/../lib/Comments/EntityCollection.php',
97
-        'OCA\\DAV\\Comments\\EntityTypeCollection' => __DIR__ . '/..' . '/../lib/Comments/EntityTypeCollection.php',
98
-        'OCA\\DAV\\Comments\\RootCollection' => __DIR__ . '/..' . '/../lib/Comments/RootCollection.php',
99
-        'OCA\\DAV\\Connector\\LegacyDAVACL' => __DIR__ . '/..' . '/../lib/Connector/LegacyDAVACL.php',
100
-        'OCA\\DAV\\Connector\\PublicAuth' => __DIR__ . '/..' . '/../lib/Connector/PublicAuth.php',
101
-        'OCA\\DAV\\Connector\\Sabre\\AnonymousOptionsPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/AnonymousOptionsPlugin.php',
102
-        'OCA\\DAV\\Connector\\Sabre\\AppEnabledPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/AppEnabledPlugin.php',
103
-        'OCA\\DAV\\Connector\\Sabre\\Auth' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Auth.php',
104
-        'OCA\\DAV\\Connector\\Sabre\\BearerAuth' => __DIR__ . '/..' . '/../lib/Connector/Sabre/BearerAuth.php',
105
-        'OCA\\DAV\\Connector\\Sabre\\BlockLegacyClientPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/BlockLegacyClientPlugin.php',
106
-        'OCA\\DAV\\Connector\\Sabre\\CachingTree' => __DIR__ . '/..' . '/../lib/Connector/Sabre/CachingTree.php',
107
-        'OCA\\DAV\\Connector\\Sabre\\ChecksumList' => __DIR__ . '/..' . '/../lib/Connector/Sabre/ChecksumList.php',
108
-        'OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/CommentPropertiesPlugin.php',
109
-        'OCA\\DAV\\Connector\\Sabre\\CopyEtagHeaderPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/CopyEtagHeaderPlugin.php',
110
-        'OCA\\DAV\\Connector\\Sabre\\CustomPropertiesBackend' => __DIR__ . '/..' . '/../lib/Connector/Sabre/CustomPropertiesBackend.php',
111
-        'OCA\\DAV\\Connector\\Sabre\\DavAclPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/DavAclPlugin.php',
112
-        'OCA\\DAV\\Connector\\Sabre\\Directory' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Directory.php',
113
-        'OCA\\DAV\\Connector\\Sabre\\DummyGetResponsePlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/DummyGetResponsePlugin.php',
114
-        'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/ExceptionLoggerPlugin.php',
115
-        'OCA\\DAV\\Connector\\Sabre\\Exception\\EntityTooLarge' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Exception/EntityTooLarge.php',
116
-        'OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Exception/FileLocked.php',
117
-        'OCA\\DAV\\Connector\\Sabre\\Exception\\Forbidden' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Exception/Forbidden.php',
118
-        'OCA\\DAV\\Connector\\Sabre\\Exception\\InvalidPath' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Exception/InvalidPath.php',
119
-        'OCA\\DAV\\Connector\\Sabre\\Exception\\PasswordLoginForbidden' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Exception/PasswordLoginForbidden.php',
120
-        'OCA\\DAV\\Connector\\Sabre\\Exception\\UnsupportedMediaType' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Exception/UnsupportedMediaType.php',
121
-        'OCA\\DAV\\Connector\\Sabre\\FakeLockerPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/FakeLockerPlugin.php',
122
-        'OCA\\DAV\\Connector\\Sabre\\File' => __DIR__ . '/..' . '/../lib/Connector/Sabre/File.php',
123
-        'OCA\\DAV\\Connector\\Sabre\\FilesPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/FilesPlugin.php',
124
-        'OCA\\DAV\\Connector\\Sabre\\FilesReportPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/FilesReportPlugin.php',
125
-        'OCA\\DAV\\Connector\\Sabre\\LockPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/LockPlugin.php',
126
-        'OCA\\DAV\\Connector\\Sabre\\MaintenancePlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/MaintenancePlugin.php',
127
-        'OCA\\DAV\\Connector\\Sabre\\Node' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Node.php',
128
-        'OCA\\DAV\\Connector\\Sabre\\ObjectTree' => __DIR__ . '/..' . '/../lib/Connector/Sabre/ObjectTree.php',
129
-        'OCA\\DAV\\Connector\\Sabre\\Principal' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Principal.php',
130
-        'OCA\\DAV\\Connector\\Sabre\\QuotaPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/QuotaPlugin.php',
131
-        'OCA\\DAV\\Connector\\Sabre\\Server' => __DIR__ . '/..' . '/../lib/Connector/Sabre/Server.php',
132
-        'OCA\\DAV\\Connector\\Sabre\\ServerFactory' => __DIR__ . '/..' . '/../lib/Connector/Sabre/ServerFactory.php',
133
-        'OCA\\DAV\\Connector\\Sabre\\ShareTypeList' => __DIR__ . '/..' . '/../lib/Connector/Sabre/ShareTypeList.php',
134
-        'OCA\\DAV\\Connector\\Sabre\\SharesPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/SharesPlugin.php',
135
-        'OCA\\DAV\\Connector\\Sabre\\TagList' => __DIR__ . '/..' . '/../lib/Connector/Sabre/TagList.php',
136
-        'OCA\\DAV\\Connector\\Sabre\\TagsPlugin' => __DIR__ . '/..' . '/../lib/Connector/Sabre/TagsPlugin.php',
137
-        'OCA\\DAV\\Controller\\BirthdayCalendarController' => __DIR__ . '/..' . '/../lib/Controller/BirthdayCalendarController.php',
138
-        'OCA\\DAV\\Controller\\DirectController' => __DIR__ . '/..' . '/../lib/Controller/DirectController.php',
139
-        'OCA\\DAV\\DAV\\CustomPropertiesBackend' => __DIR__ . '/..' . '/../lib/DAV/CustomPropertiesBackend.php',
140
-        'OCA\\DAV\\DAV\\GroupPrincipalBackend' => __DIR__ . '/..' . '/../lib/DAV/GroupPrincipalBackend.php',
141
-        'OCA\\DAV\\DAV\\PublicAuth' => __DIR__ . '/..' . '/../lib/DAV/PublicAuth.php',
142
-        'OCA\\DAV\\DAV\\Sharing\\Backend' => __DIR__ . '/..' . '/../lib/DAV/Sharing/Backend.php',
143
-        'OCA\\DAV\\DAV\\Sharing\\IShareable' => __DIR__ . '/..' . '/../lib/DAV/Sharing/IShareable.php',
144
-        'OCA\\DAV\\DAV\\Sharing\\Plugin' => __DIR__ . '/..' . '/../lib/DAV/Sharing/Plugin.php',
145
-        'OCA\\DAV\\DAV\\Sharing\\Xml\\Invite' => __DIR__ . '/..' . '/../lib/DAV/Sharing/Xml/Invite.php',
146
-        'OCA\\DAV\\DAV\\Sharing\\Xml\\ShareRequest' => __DIR__ . '/..' . '/../lib/DAV/Sharing/Xml/ShareRequest.php',
147
-        'OCA\\DAV\\DAV\\SystemPrincipalBackend' => __DIR__ . '/..' . '/../lib/DAV/SystemPrincipalBackend.php',
148
-        'OCA\\DAV\\Db\\Direct' => __DIR__ . '/..' . '/../lib/Db/Direct.php',
149
-        'OCA\\DAV\\Db\\DirectMapper' => __DIR__ . '/..' . '/../lib/Db/DirectMapper.php',
150
-        'OCA\\DAV\\Direct\\DirectFile' => __DIR__ . '/..' . '/../lib/Direct/DirectFile.php',
151
-        'OCA\\DAV\\Direct\\DirectHome' => __DIR__ . '/..' . '/../lib/Direct/DirectHome.php',
152
-        'OCA\\DAV\\Direct\\Server' => __DIR__ . '/..' . '/../lib/Direct/Server.php',
153
-        'OCA\\DAV\\Direct\\ServerFactory' => __DIR__ . '/..' . '/../lib/Direct/ServerFactory.php',
154
-        'OCA\\DAV\\Files\\BrowserErrorPagePlugin' => __DIR__ . '/..' . '/../lib/Files/BrowserErrorPagePlugin.php',
155
-        'OCA\\DAV\\Files\\FileSearchBackend' => __DIR__ . '/..' . '/../lib/Files/FileSearchBackend.php',
156
-        'OCA\\DAV\\Files\\FilesHome' => __DIR__ . '/..' . '/../lib/Files/FilesHome.php',
157
-        'OCA\\DAV\\Files\\LazySearchBackend' => __DIR__ . '/..' . '/../lib/Files/LazySearchBackend.php',
158
-        'OCA\\DAV\\Files\\RootCollection' => __DIR__ . '/..' . '/../lib/Files/RootCollection.php',
159
-        'OCA\\DAV\\Files\\Sharing\\FilesDropPlugin' => __DIR__ . '/..' . '/../lib/Files/Sharing/FilesDropPlugin.php',
160
-        'OCA\\DAV\\Files\\Sharing\\PublicLinkCheckPlugin' => __DIR__ . '/..' . '/../lib/Files/Sharing/PublicLinkCheckPlugin.php',
161
-        'OCA\\DAV\\HookManager' => __DIR__ . '/..' . '/../lib/HookManager.php',
162
-        'OCA\\DAV\\Migration\\BuildCalendarSearchIndex' => __DIR__ . '/..' . '/../lib/Migration/BuildCalendarSearchIndex.php',
163
-        'OCA\\DAV\\Migration\\BuildCalendarSearchIndexBackgroundJob' => __DIR__ . '/..' . '/../lib/Migration/BuildCalendarSearchIndexBackgroundJob.php',
164
-        'OCA\\DAV\\Migration\\CalDAVRemoveEmptyValue' => __DIR__ . '/..' . '/../lib/Migration/CalDAVRemoveEmptyValue.php',
165
-        'OCA\\DAV\\Migration\\FixBirthdayCalendarComponent' => __DIR__ . '/..' . '/../lib/Migration/FixBirthdayCalendarComponent.php',
166
-        'OCA\\DAV\\Migration\\RefreshWebcalJobRegistrar' => __DIR__ . '/..' . '/../lib/Migration/RefreshWebcalJobRegistrar.php',
167
-        'OCA\\DAV\\Migration\\Version1004Date20170825134824' => __DIR__ . '/..' . '/../lib/Migration/Version1004Date20170825134824.php',
168
-        'OCA\\DAV\\Migration\\Version1004Date20170919104507' => __DIR__ . '/..' . '/../lib/Migration/Version1004Date20170919104507.php',
169
-        'OCA\\DAV\\Migration\\Version1004Date20170924124212' => __DIR__ . '/..' . '/../lib/Migration/Version1004Date20170924124212.php',
170
-        'OCA\\DAV\\Migration\\Version1004Date20170926103422' => __DIR__ . '/..' . '/../lib/Migration/Version1004Date20170926103422.php',
171
-        'OCA\\DAV\\Migration\\Version1005Date20180413093149' => __DIR__ . '/..' . '/../lib/Migration/Version1005Date20180413093149.php',
172
-        'OCA\\DAV\\Migration\\Version1005Date20180530124431' => __DIR__ . '/..' . '/../lib/Migration/Version1005Date20180530124431.php',
173
-        'OCA\\DAV\\Migration\\Version1006Date20180628111625' => __DIR__ . '/..' . '/../lib/Migration/Version1006Date20180628111625.php',
174
-        'OCA\\DAV\\RootCollection' => __DIR__ . '/..' . '/../lib/RootCollection.php',
175
-        'OCA\\DAV\\Server' => __DIR__ . '/..' . '/../lib/Server.php',
176
-        'OCA\\DAV\\Settings\\CalDAVSettings' => __DIR__ . '/..' . '/../lib/Settings/CalDAVSettings.php',
177
-        'OCA\\DAV\\SystemTag\\SystemTagMappingNode' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagMappingNode.php',
178
-        'OCA\\DAV\\SystemTag\\SystemTagNode' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagNode.php',
179
-        'OCA\\DAV\\SystemTag\\SystemTagPlugin' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagPlugin.php',
180
-        'OCA\\DAV\\SystemTag\\SystemTagsByIdCollection' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagsByIdCollection.php',
181
-        'OCA\\DAV\\SystemTag\\SystemTagsObjectMappingCollection' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagsObjectMappingCollection.php',
182
-        'OCA\\DAV\\SystemTag\\SystemTagsObjectTypeCollection' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagsObjectTypeCollection.php',
183
-        'OCA\\DAV\\SystemTag\\SystemTagsRelationsCollection' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagsRelationsCollection.php',
184
-        'OCA\\DAV\\Upload\\AssemblyStream' => __DIR__ . '/..' . '/../lib/Upload/AssemblyStream.php',
185
-        'OCA\\DAV\\Upload\\ChunkingPlugin' => __DIR__ . '/..' . '/../lib/Upload/ChunkingPlugin.php',
186
-        'OCA\\DAV\\Upload\\FutureFile' => __DIR__ . '/..' . '/../lib/Upload/FutureFile.php',
187
-        'OCA\\DAV\\Upload\\RootCollection' => __DIR__ . '/..' . '/../lib/Upload/RootCollection.php',
188
-        'OCA\\DAV\\Upload\\UploadFolder' => __DIR__ . '/..' . '/../lib/Upload/UploadFolder.php',
189
-        'OCA\\DAV\\Upload\\UploadHome' => __DIR__ . '/..' . '/../lib/Upload/UploadHome.php',
23
+    public static $classMap = array(
24
+        'OCA\\DAV\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
25
+        'OCA\\DAV\\AppInfo\\PluginManager' => __DIR__.'/..'.'/../lib/AppInfo/PluginManager.php',
26
+        'OCA\\DAV\\Avatars\\AvatarHome' => __DIR__.'/..'.'/../lib/Avatars/AvatarHome.php',
27
+        'OCA\\DAV\\Avatars\\AvatarNode' => __DIR__.'/..'.'/../lib/Avatars/AvatarNode.php',
28
+        'OCA\\DAV\\Avatars\\RootCollection' => __DIR__.'/..'.'/../lib/Avatars/RootCollection.php',
29
+        'OCA\\DAV\\BackgroundJob\\CleanupDirectLinksJob' => __DIR__.'/..'.'/../lib/BackgroundJob/CleanupDirectLinksJob.php',
30
+        'OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob' => __DIR__.'/..'.'/../lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php',
31
+        'OCA\\DAV\\BackgroundJob\\RefreshWebcalJob' => __DIR__.'/..'.'/../lib/BackgroundJob/RefreshWebcalJob.php',
32
+        'OCA\\DAV\\BackgroundJob\\UpdateCalendarResourcesRoomsBackgroundJob' => __DIR__.'/..'.'/../lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php',
33
+        'OCA\\DAV\\CalDAV\\Activity\\Backend' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Backend.php',
34
+        'OCA\\DAV\\CalDAV\\Activity\\Filter\\Calendar' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Filter/Calendar.php',
35
+        'OCA\\DAV\\CalDAV\\Activity\\Filter\\Todo' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Filter/Todo.php',
36
+        'OCA\\DAV\\CalDAV\\Activity\\Provider\\Base' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Provider/Base.php',
37
+        'OCA\\DAV\\CalDAV\\Activity\\Provider\\Calendar' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Provider/Calendar.php',
38
+        'OCA\\DAV\\CalDAV\\Activity\\Provider\\Event' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Provider/Event.php',
39
+        'OCA\\DAV\\CalDAV\\Activity\\Provider\\Todo' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Provider/Todo.php',
40
+        'OCA\\DAV\\CalDAV\\Activity\\Setting\\Calendar' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Setting/Calendar.php',
41
+        'OCA\\DAV\\CalDAV\\Activity\\Setting\\Event' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Setting/Event.php',
42
+        'OCA\\DAV\\CalDAV\\Activity\\Setting\\Todo' => __DIR__.'/..'.'/../lib/CalDAV/Activity/Setting/Todo.php',
43
+        'OCA\\DAV\\CalDAV\\BirthdayCalendar\\EnablePlugin' => __DIR__.'/..'.'/../lib/CalDAV/BirthdayCalendar/EnablePlugin.php',
44
+        'OCA\\DAV\\CalDAV\\BirthdayService' => __DIR__.'/..'.'/../lib/CalDAV/BirthdayService.php',
45
+        'OCA\\DAV\\CalDAV\\CachedSubscription' => __DIR__.'/..'.'/../lib/CalDAV/CachedSubscription.php',
46
+        'OCA\\DAV\\CalDAV\\CachedSubscriptionObject' => __DIR__.'/..'.'/../lib/CalDAV/CachedSubscriptionObject.php',
47
+        'OCA\\DAV\\CalDAV\\CalDavBackend' => __DIR__.'/..'.'/../lib/CalDAV/CalDavBackend.php',
48
+        'OCA\\DAV\\CalDAV\\Calendar' => __DIR__.'/..'.'/../lib/CalDAV/Calendar.php',
49
+        'OCA\\DAV\\CalDAV\\CalendarHome' => __DIR__.'/..'.'/../lib/CalDAV/CalendarHome.php',
50
+        'OCA\\DAV\\CalDAV\\CalendarImpl' => __DIR__.'/..'.'/../lib/CalDAV/CalendarImpl.php',
51
+        'OCA\\DAV\\CalDAV\\CalendarManager' => __DIR__.'/..'.'/../lib/CalDAV/CalendarManager.php',
52
+        'OCA\\DAV\\CalDAV\\CalendarObject' => __DIR__.'/..'.'/../lib/CalDAV/CalendarObject.php',
53
+        'OCA\\DAV\\CalDAV\\CalendarRoot' => __DIR__.'/..'.'/../lib/CalDAV/CalendarRoot.php',
54
+        'OCA\\DAV\\CalDAV\\Plugin' => __DIR__.'/..'.'/../lib/CalDAV/Plugin.php',
55
+        'OCA\\DAV\\CalDAV\\Principal\\Collection' => __DIR__.'/..'.'/../lib/CalDAV/Principal/Collection.php',
56
+        'OCA\\DAV\\CalDAV\\Principal\\User' => __DIR__.'/..'.'/../lib/CalDAV/Principal/User.php',
57
+        'OCA\\DAV\\CalDAV\\PublicCalendar' => __DIR__.'/..'.'/../lib/CalDAV/PublicCalendar.php',
58
+        'OCA\\DAV\\CalDAV\\PublicCalendarObject' => __DIR__.'/..'.'/../lib/CalDAV/PublicCalendarObject.php',
59
+        'OCA\\DAV\\CalDAV\\PublicCalendarRoot' => __DIR__.'/..'.'/../lib/CalDAV/PublicCalendarRoot.php',
60
+        'OCA\\DAV\\CalDAV\\Publishing\\PublishPlugin' => __DIR__.'/..'.'/../lib/CalDAV/Publishing/PublishPlugin.php',
61
+        'OCA\\DAV\\CalDAV\\Publishing\\Xml\\Publisher' => __DIR__.'/..'.'/../lib/CalDAV/Publishing/Xml/Publisher.php',
62
+        'OCA\\DAV\\CalDAV\\ResourceBooking\\AbstractPrincipalBackend' => __DIR__.'/..'.'/../lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php',
63
+        'OCA\\DAV\\CalDAV\\ResourceBooking\\ResourcePrincipalBackend' => __DIR__.'/..'.'/../lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php',
64
+        'OCA\\DAV\\CalDAV\\ResourceBooking\\RoomPrincipalBackend' => __DIR__.'/..'.'/../lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php',
65
+        'OCA\\DAV\\CalDAV\\Schedule\\IMipPlugin' => __DIR__.'/..'.'/../lib/CalDAV/Schedule/IMipPlugin.php',
66
+        'OCA\\DAV\\CalDAV\\Schedule\\Plugin' => __DIR__.'/..'.'/../lib/CalDAV/Schedule/Plugin.php',
67
+        'OCA\\DAV\\CalDAV\\Search\\SearchPlugin' => __DIR__.'/..'.'/../lib/CalDAV/Search/SearchPlugin.php',
68
+        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\CompFilter' => __DIR__.'/..'.'/../lib/CalDAV/Search/Xml/Filter/CompFilter.php',
69
+        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\LimitFilter' => __DIR__.'/..'.'/../lib/CalDAV/Search/Xml/Filter/LimitFilter.php',
70
+        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\OffsetFilter' => __DIR__.'/..'.'/../lib/CalDAV/Search/Xml/Filter/OffsetFilter.php',
71
+        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\ParamFilter' => __DIR__.'/..'.'/../lib/CalDAV/Search/Xml/Filter/ParamFilter.php',
72
+        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\PropFilter' => __DIR__.'/..'.'/../lib/CalDAV/Search/Xml/Filter/PropFilter.php',
73
+        'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\SearchTermFilter' => __DIR__.'/..'.'/../lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php',
74
+        'OCA\\DAV\\CalDAV\\Search\\Xml\\Request\\CalendarSearchReport' => __DIR__.'/..'.'/../lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php',
75
+        'OCA\\DAV\\CalDAV\\WebcalCaching\\Plugin' => __DIR__.'/..'.'/../lib/CalDAV/WebcalCaching/Plugin.php',
76
+        'OCA\\DAV\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php',
77
+        'OCA\\DAV\\CardDAV\\AddressBook' => __DIR__.'/..'.'/../lib/CardDAV/AddressBook.php',
78
+        'OCA\\DAV\\CardDAV\\AddressBookImpl' => __DIR__.'/..'.'/../lib/CardDAV/AddressBookImpl.php',
79
+        'OCA\\DAV\\CardDAV\\AddressBookRoot' => __DIR__.'/..'.'/../lib/CardDAV/AddressBookRoot.php',
80
+        'OCA\\DAV\\CardDAV\\CardDavBackend' => __DIR__.'/..'.'/../lib/CardDAV/CardDavBackend.php',
81
+        'OCA\\DAV\\CardDAV\\ContactsManager' => __DIR__.'/..'.'/../lib/CardDAV/ContactsManager.php',
82
+        'OCA\\DAV\\CardDAV\\Converter' => __DIR__.'/..'.'/../lib/CardDAV/Converter.php',
83
+        'OCA\\DAV\\CardDAV\\ImageExportPlugin' => __DIR__.'/..'.'/../lib/CardDAV/ImageExportPlugin.php',
84
+        'OCA\\DAV\\CardDAV\\PhotoCache' => __DIR__.'/..'.'/../lib/CardDAV/PhotoCache.php',
85
+        'OCA\\DAV\\CardDAV\\Plugin' => __DIR__.'/..'.'/../lib/CardDAV/Plugin.php',
86
+        'OCA\\DAV\\CardDAV\\SyncService' => __DIR__.'/..'.'/../lib/CardDAV/SyncService.php',
87
+        'OCA\\DAV\\CardDAV\\UserAddressBooks' => __DIR__.'/..'.'/../lib/CardDAV/UserAddressBooks.php',
88
+        'OCA\\DAV\\CardDAV\\Xml\\Groups' => __DIR__.'/..'.'/../lib/CardDAV/Xml/Groups.php',
89
+        'OCA\\DAV\\Command\\CreateAddressBook' => __DIR__.'/..'.'/../lib/Command/CreateAddressBook.php',
90
+        'OCA\\DAV\\Command\\CreateCalendar' => __DIR__.'/..'.'/../lib/Command/CreateCalendar.php',
91
+        'OCA\\DAV\\Command\\RemoveInvalidShares' => __DIR__.'/..'.'/../lib/Command/RemoveInvalidShares.php',
92
+        'OCA\\DAV\\Command\\SyncBirthdayCalendar' => __DIR__.'/..'.'/../lib/Command/SyncBirthdayCalendar.php',
93
+        'OCA\\DAV\\Command\\SyncSystemAddressBook' => __DIR__.'/..'.'/../lib/Command/SyncSystemAddressBook.php',
94
+        'OCA\\DAV\\Comments\\CommentNode' => __DIR__.'/..'.'/../lib/Comments/CommentNode.php',
95
+        'OCA\\DAV\\Comments\\CommentsPlugin' => __DIR__.'/..'.'/../lib/Comments/CommentsPlugin.php',
96
+        'OCA\\DAV\\Comments\\EntityCollection' => __DIR__.'/..'.'/../lib/Comments/EntityCollection.php',
97
+        'OCA\\DAV\\Comments\\EntityTypeCollection' => __DIR__.'/..'.'/../lib/Comments/EntityTypeCollection.php',
98
+        'OCA\\DAV\\Comments\\RootCollection' => __DIR__.'/..'.'/../lib/Comments/RootCollection.php',
99
+        'OCA\\DAV\\Connector\\LegacyDAVACL' => __DIR__.'/..'.'/../lib/Connector/LegacyDAVACL.php',
100
+        'OCA\\DAV\\Connector\\PublicAuth' => __DIR__.'/..'.'/../lib/Connector/PublicAuth.php',
101
+        'OCA\\DAV\\Connector\\Sabre\\AnonymousOptionsPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/AnonymousOptionsPlugin.php',
102
+        'OCA\\DAV\\Connector\\Sabre\\AppEnabledPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/AppEnabledPlugin.php',
103
+        'OCA\\DAV\\Connector\\Sabre\\Auth' => __DIR__.'/..'.'/../lib/Connector/Sabre/Auth.php',
104
+        'OCA\\DAV\\Connector\\Sabre\\BearerAuth' => __DIR__.'/..'.'/../lib/Connector/Sabre/BearerAuth.php',
105
+        'OCA\\DAV\\Connector\\Sabre\\BlockLegacyClientPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/BlockLegacyClientPlugin.php',
106
+        'OCA\\DAV\\Connector\\Sabre\\CachingTree' => __DIR__.'/..'.'/../lib/Connector/Sabre/CachingTree.php',
107
+        'OCA\\DAV\\Connector\\Sabre\\ChecksumList' => __DIR__.'/..'.'/../lib/Connector/Sabre/ChecksumList.php',
108
+        'OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/CommentPropertiesPlugin.php',
109
+        'OCA\\DAV\\Connector\\Sabre\\CopyEtagHeaderPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/CopyEtagHeaderPlugin.php',
110
+        'OCA\\DAV\\Connector\\Sabre\\CustomPropertiesBackend' => __DIR__.'/..'.'/../lib/Connector/Sabre/CustomPropertiesBackend.php',
111
+        'OCA\\DAV\\Connector\\Sabre\\DavAclPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/DavAclPlugin.php',
112
+        'OCA\\DAV\\Connector\\Sabre\\Directory' => __DIR__.'/..'.'/../lib/Connector/Sabre/Directory.php',
113
+        'OCA\\DAV\\Connector\\Sabre\\DummyGetResponsePlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/DummyGetResponsePlugin.php',
114
+        'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/ExceptionLoggerPlugin.php',
115
+        'OCA\\DAV\\Connector\\Sabre\\Exception\\EntityTooLarge' => __DIR__.'/..'.'/../lib/Connector/Sabre/Exception/EntityTooLarge.php',
116
+        'OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked' => __DIR__.'/..'.'/../lib/Connector/Sabre/Exception/FileLocked.php',
117
+        'OCA\\DAV\\Connector\\Sabre\\Exception\\Forbidden' => __DIR__.'/..'.'/../lib/Connector/Sabre/Exception/Forbidden.php',
118
+        'OCA\\DAV\\Connector\\Sabre\\Exception\\InvalidPath' => __DIR__.'/..'.'/../lib/Connector/Sabre/Exception/InvalidPath.php',
119
+        'OCA\\DAV\\Connector\\Sabre\\Exception\\PasswordLoginForbidden' => __DIR__.'/..'.'/../lib/Connector/Sabre/Exception/PasswordLoginForbidden.php',
120
+        'OCA\\DAV\\Connector\\Sabre\\Exception\\UnsupportedMediaType' => __DIR__.'/..'.'/../lib/Connector/Sabre/Exception/UnsupportedMediaType.php',
121
+        'OCA\\DAV\\Connector\\Sabre\\FakeLockerPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/FakeLockerPlugin.php',
122
+        'OCA\\DAV\\Connector\\Sabre\\File' => __DIR__.'/..'.'/../lib/Connector/Sabre/File.php',
123
+        'OCA\\DAV\\Connector\\Sabre\\FilesPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/FilesPlugin.php',
124
+        'OCA\\DAV\\Connector\\Sabre\\FilesReportPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/FilesReportPlugin.php',
125
+        'OCA\\DAV\\Connector\\Sabre\\LockPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/LockPlugin.php',
126
+        'OCA\\DAV\\Connector\\Sabre\\MaintenancePlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/MaintenancePlugin.php',
127
+        'OCA\\DAV\\Connector\\Sabre\\Node' => __DIR__.'/..'.'/../lib/Connector/Sabre/Node.php',
128
+        'OCA\\DAV\\Connector\\Sabre\\ObjectTree' => __DIR__.'/..'.'/../lib/Connector/Sabre/ObjectTree.php',
129
+        'OCA\\DAV\\Connector\\Sabre\\Principal' => __DIR__.'/..'.'/../lib/Connector/Sabre/Principal.php',
130
+        'OCA\\DAV\\Connector\\Sabre\\QuotaPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/QuotaPlugin.php',
131
+        'OCA\\DAV\\Connector\\Sabre\\Server' => __DIR__.'/..'.'/../lib/Connector/Sabre/Server.php',
132
+        'OCA\\DAV\\Connector\\Sabre\\ServerFactory' => __DIR__.'/..'.'/../lib/Connector/Sabre/ServerFactory.php',
133
+        'OCA\\DAV\\Connector\\Sabre\\ShareTypeList' => __DIR__.'/..'.'/../lib/Connector/Sabre/ShareTypeList.php',
134
+        'OCA\\DAV\\Connector\\Sabre\\SharesPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/SharesPlugin.php',
135
+        'OCA\\DAV\\Connector\\Sabre\\TagList' => __DIR__.'/..'.'/../lib/Connector/Sabre/TagList.php',
136
+        'OCA\\DAV\\Connector\\Sabre\\TagsPlugin' => __DIR__.'/..'.'/../lib/Connector/Sabre/TagsPlugin.php',
137
+        'OCA\\DAV\\Controller\\BirthdayCalendarController' => __DIR__.'/..'.'/../lib/Controller/BirthdayCalendarController.php',
138
+        'OCA\\DAV\\Controller\\DirectController' => __DIR__.'/..'.'/../lib/Controller/DirectController.php',
139
+        'OCA\\DAV\\DAV\\CustomPropertiesBackend' => __DIR__.'/..'.'/../lib/DAV/CustomPropertiesBackend.php',
140
+        'OCA\\DAV\\DAV\\GroupPrincipalBackend' => __DIR__.'/..'.'/../lib/DAV/GroupPrincipalBackend.php',
141
+        'OCA\\DAV\\DAV\\PublicAuth' => __DIR__.'/..'.'/../lib/DAV/PublicAuth.php',
142
+        'OCA\\DAV\\DAV\\Sharing\\Backend' => __DIR__.'/..'.'/../lib/DAV/Sharing/Backend.php',
143
+        'OCA\\DAV\\DAV\\Sharing\\IShareable' => __DIR__.'/..'.'/../lib/DAV/Sharing/IShareable.php',
144
+        'OCA\\DAV\\DAV\\Sharing\\Plugin' => __DIR__.'/..'.'/../lib/DAV/Sharing/Plugin.php',
145
+        'OCA\\DAV\\DAV\\Sharing\\Xml\\Invite' => __DIR__.'/..'.'/../lib/DAV/Sharing/Xml/Invite.php',
146
+        'OCA\\DAV\\DAV\\Sharing\\Xml\\ShareRequest' => __DIR__.'/..'.'/../lib/DAV/Sharing/Xml/ShareRequest.php',
147
+        'OCA\\DAV\\DAV\\SystemPrincipalBackend' => __DIR__.'/..'.'/../lib/DAV/SystemPrincipalBackend.php',
148
+        'OCA\\DAV\\Db\\Direct' => __DIR__.'/..'.'/../lib/Db/Direct.php',
149
+        'OCA\\DAV\\Db\\DirectMapper' => __DIR__.'/..'.'/../lib/Db/DirectMapper.php',
150
+        'OCA\\DAV\\Direct\\DirectFile' => __DIR__.'/..'.'/../lib/Direct/DirectFile.php',
151
+        'OCA\\DAV\\Direct\\DirectHome' => __DIR__.'/..'.'/../lib/Direct/DirectHome.php',
152
+        'OCA\\DAV\\Direct\\Server' => __DIR__.'/..'.'/../lib/Direct/Server.php',
153
+        'OCA\\DAV\\Direct\\ServerFactory' => __DIR__.'/..'.'/../lib/Direct/ServerFactory.php',
154
+        'OCA\\DAV\\Files\\BrowserErrorPagePlugin' => __DIR__.'/..'.'/../lib/Files/BrowserErrorPagePlugin.php',
155
+        'OCA\\DAV\\Files\\FileSearchBackend' => __DIR__.'/..'.'/../lib/Files/FileSearchBackend.php',
156
+        'OCA\\DAV\\Files\\FilesHome' => __DIR__.'/..'.'/../lib/Files/FilesHome.php',
157
+        'OCA\\DAV\\Files\\LazySearchBackend' => __DIR__.'/..'.'/../lib/Files/LazySearchBackend.php',
158
+        'OCA\\DAV\\Files\\RootCollection' => __DIR__.'/..'.'/../lib/Files/RootCollection.php',
159
+        'OCA\\DAV\\Files\\Sharing\\FilesDropPlugin' => __DIR__.'/..'.'/../lib/Files/Sharing/FilesDropPlugin.php',
160
+        'OCA\\DAV\\Files\\Sharing\\PublicLinkCheckPlugin' => __DIR__.'/..'.'/../lib/Files/Sharing/PublicLinkCheckPlugin.php',
161
+        'OCA\\DAV\\HookManager' => __DIR__.'/..'.'/../lib/HookManager.php',
162
+        'OCA\\DAV\\Migration\\BuildCalendarSearchIndex' => __DIR__.'/..'.'/../lib/Migration/BuildCalendarSearchIndex.php',
163
+        'OCA\\DAV\\Migration\\BuildCalendarSearchIndexBackgroundJob' => __DIR__.'/..'.'/../lib/Migration/BuildCalendarSearchIndexBackgroundJob.php',
164
+        'OCA\\DAV\\Migration\\CalDAVRemoveEmptyValue' => __DIR__.'/..'.'/../lib/Migration/CalDAVRemoveEmptyValue.php',
165
+        'OCA\\DAV\\Migration\\FixBirthdayCalendarComponent' => __DIR__.'/..'.'/../lib/Migration/FixBirthdayCalendarComponent.php',
166
+        'OCA\\DAV\\Migration\\RefreshWebcalJobRegistrar' => __DIR__.'/..'.'/../lib/Migration/RefreshWebcalJobRegistrar.php',
167
+        'OCA\\DAV\\Migration\\Version1004Date20170825134824' => __DIR__.'/..'.'/../lib/Migration/Version1004Date20170825134824.php',
168
+        'OCA\\DAV\\Migration\\Version1004Date20170919104507' => __DIR__.'/..'.'/../lib/Migration/Version1004Date20170919104507.php',
169
+        'OCA\\DAV\\Migration\\Version1004Date20170924124212' => __DIR__.'/..'.'/../lib/Migration/Version1004Date20170924124212.php',
170
+        'OCA\\DAV\\Migration\\Version1004Date20170926103422' => __DIR__.'/..'.'/../lib/Migration/Version1004Date20170926103422.php',
171
+        'OCA\\DAV\\Migration\\Version1005Date20180413093149' => __DIR__.'/..'.'/../lib/Migration/Version1005Date20180413093149.php',
172
+        'OCA\\DAV\\Migration\\Version1005Date20180530124431' => __DIR__.'/..'.'/../lib/Migration/Version1005Date20180530124431.php',
173
+        'OCA\\DAV\\Migration\\Version1006Date20180628111625' => __DIR__.'/..'.'/../lib/Migration/Version1006Date20180628111625.php',
174
+        'OCA\\DAV\\RootCollection' => __DIR__.'/..'.'/../lib/RootCollection.php',
175
+        'OCA\\DAV\\Server' => __DIR__.'/..'.'/../lib/Server.php',
176
+        'OCA\\DAV\\Settings\\CalDAVSettings' => __DIR__.'/..'.'/../lib/Settings/CalDAVSettings.php',
177
+        'OCA\\DAV\\SystemTag\\SystemTagMappingNode' => __DIR__.'/..'.'/../lib/SystemTag/SystemTagMappingNode.php',
178
+        'OCA\\DAV\\SystemTag\\SystemTagNode' => __DIR__.'/..'.'/../lib/SystemTag/SystemTagNode.php',
179
+        'OCA\\DAV\\SystemTag\\SystemTagPlugin' => __DIR__.'/..'.'/../lib/SystemTag/SystemTagPlugin.php',
180
+        'OCA\\DAV\\SystemTag\\SystemTagsByIdCollection' => __DIR__.'/..'.'/../lib/SystemTag/SystemTagsByIdCollection.php',
181
+        'OCA\\DAV\\SystemTag\\SystemTagsObjectMappingCollection' => __DIR__.'/..'.'/../lib/SystemTag/SystemTagsObjectMappingCollection.php',
182
+        'OCA\\DAV\\SystemTag\\SystemTagsObjectTypeCollection' => __DIR__.'/..'.'/../lib/SystemTag/SystemTagsObjectTypeCollection.php',
183
+        'OCA\\DAV\\SystemTag\\SystemTagsRelationsCollection' => __DIR__.'/..'.'/../lib/SystemTag/SystemTagsRelationsCollection.php',
184
+        'OCA\\DAV\\Upload\\AssemblyStream' => __DIR__.'/..'.'/../lib/Upload/AssemblyStream.php',
185
+        'OCA\\DAV\\Upload\\ChunkingPlugin' => __DIR__.'/..'.'/../lib/Upload/ChunkingPlugin.php',
186
+        'OCA\\DAV\\Upload\\FutureFile' => __DIR__.'/..'.'/../lib/Upload/FutureFile.php',
187
+        'OCA\\DAV\\Upload\\RootCollection' => __DIR__.'/..'.'/../lib/Upload/RootCollection.php',
188
+        'OCA\\DAV\\Upload\\UploadFolder' => __DIR__.'/..'.'/../lib/Upload/UploadFolder.php',
189
+        'OCA\\DAV\\Upload\\UploadHome' => __DIR__.'/..'.'/../lib/Upload/UploadHome.php',
190 190
     );
191 191
 
192 192
     public static function getInitializer(ClassLoader $loader)
193 193
     {
194
-        return \Closure::bind(function () use ($loader) {
194
+        return \Closure::bind(function() use ($loader) {
195 195
             $loader->prefixLengthsPsr4 = ComposerStaticInitDAV::$prefixLengthsPsr4;
196 196
             $loader->prefixDirsPsr4 = ComposerStaticInitDAV::$prefixDirsPsr4;
197 197
             $loader->classMap = ComposerStaticInitDAV::$classMap;
Please login to merge, or discard this patch.
apps/dav/composer/composer/autoload_classmap.php 1 patch
Spacing   +166 added lines, -166 removed lines patch added patch discarded remove patch
@@ -6,170 +6,170 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'OCA\\DAV\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
10
-    'OCA\\DAV\\AppInfo\\PluginManager' => $baseDir . '/../lib/AppInfo/PluginManager.php',
11
-    'OCA\\DAV\\Avatars\\AvatarHome' => $baseDir . '/../lib/Avatars/AvatarHome.php',
12
-    'OCA\\DAV\\Avatars\\AvatarNode' => $baseDir . '/../lib/Avatars/AvatarNode.php',
13
-    'OCA\\DAV\\Avatars\\RootCollection' => $baseDir . '/../lib/Avatars/RootCollection.php',
14
-    'OCA\\DAV\\BackgroundJob\\CleanupDirectLinksJob' => $baseDir . '/../lib/BackgroundJob/CleanupDirectLinksJob.php',
15
-    'OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob' => $baseDir . '/../lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php',
16
-    'OCA\\DAV\\BackgroundJob\\RefreshWebcalJob' => $baseDir . '/../lib/BackgroundJob/RefreshWebcalJob.php',
17
-    'OCA\\DAV\\BackgroundJob\\UpdateCalendarResourcesRoomsBackgroundJob' => $baseDir . '/../lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php',
18
-    'OCA\\DAV\\CalDAV\\Activity\\Backend' => $baseDir . '/../lib/CalDAV/Activity/Backend.php',
19
-    'OCA\\DAV\\CalDAV\\Activity\\Filter\\Calendar' => $baseDir . '/../lib/CalDAV/Activity/Filter/Calendar.php',
20
-    'OCA\\DAV\\CalDAV\\Activity\\Filter\\Todo' => $baseDir . '/../lib/CalDAV/Activity/Filter/Todo.php',
21
-    'OCA\\DAV\\CalDAV\\Activity\\Provider\\Base' => $baseDir . '/../lib/CalDAV/Activity/Provider/Base.php',
22
-    'OCA\\DAV\\CalDAV\\Activity\\Provider\\Calendar' => $baseDir . '/../lib/CalDAV/Activity/Provider/Calendar.php',
23
-    'OCA\\DAV\\CalDAV\\Activity\\Provider\\Event' => $baseDir . '/../lib/CalDAV/Activity/Provider/Event.php',
24
-    'OCA\\DAV\\CalDAV\\Activity\\Provider\\Todo' => $baseDir . '/../lib/CalDAV/Activity/Provider/Todo.php',
25
-    'OCA\\DAV\\CalDAV\\Activity\\Setting\\Calendar' => $baseDir . '/../lib/CalDAV/Activity/Setting/Calendar.php',
26
-    'OCA\\DAV\\CalDAV\\Activity\\Setting\\Event' => $baseDir . '/../lib/CalDAV/Activity/Setting/Event.php',
27
-    'OCA\\DAV\\CalDAV\\Activity\\Setting\\Todo' => $baseDir . '/../lib/CalDAV/Activity/Setting/Todo.php',
28
-    'OCA\\DAV\\CalDAV\\BirthdayCalendar\\EnablePlugin' => $baseDir . '/../lib/CalDAV/BirthdayCalendar/EnablePlugin.php',
29
-    'OCA\\DAV\\CalDAV\\BirthdayService' => $baseDir . '/../lib/CalDAV/BirthdayService.php',
30
-    'OCA\\DAV\\CalDAV\\CachedSubscription' => $baseDir . '/../lib/CalDAV/CachedSubscription.php',
31
-    'OCA\\DAV\\CalDAV\\CachedSubscriptionObject' => $baseDir . '/../lib/CalDAV/CachedSubscriptionObject.php',
32
-    'OCA\\DAV\\CalDAV\\CalDavBackend' => $baseDir . '/../lib/CalDAV/CalDavBackend.php',
33
-    'OCA\\DAV\\CalDAV\\Calendar' => $baseDir . '/../lib/CalDAV/Calendar.php',
34
-    'OCA\\DAV\\CalDAV\\CalendarHome' => $baseDir . '/../lib/CalDAV/CalendarHome.php',
35
-    'OCA\\DAV\\CalDAV\\CalendarImpl' => $baseDir . '/../lib/CalDAV/CalendarImpl.php',
36
-    'OCA\\DAV\\CalDAV\\CalendarManager' => $baseDir . '/../lib/CalDAV/CalendarManager.php',
37
-    'OCA\\DAV\\CalDAV\\CalendarObject' => $baseDir . '/../lib/CalDAV/CalendarObject.php',
38
-    'OCA\\DAV\\CalDAV\\CalendarRoot' => $baseDir . '/../lib/CalDAV/CalendarRoot.php',
39
-    'OCA\\DAV\\CalDAV\\Plugin' => $baseDir . '/../lib/CalDAV/Plugin.php',
40
-    'OCA\\DAV\\CalDAV\\Principal\\Collection' => $baseDir . '/../lib/CalDAV/Principal/Collection.php',
41
-    'OCA\\DAV\\CalDAV\\Principal\\User' => $baseDir . '/../lib/CalDAV/Principal/User.php',
42
-    'OCA\\DAV\\CalDAV\\PublicCalendar' => $baseDir . '/../lib/CalDAV/PublicCalendar.php',
43
-    'OCA\\DAV\\CalDAV\\PublicCalendarObject' => $baseDir . '/../lib/CalDAV/PublicCalendarObject.php',
44
-    'OCA\\DAV\\CalDAV\\PublicCalendarRoot' => $baseDir . '/../lib/CalDAV/PublicCalendarRoot.php',
45
-    'OCA\\DAV\\CalDAV\\Publishing\\PublishPlugin' => $baseDir . '/../lib/CalDAV/Publishing/PublishPlugin.php',
46
-    'OCA\\DAV\\CalDAV\\Publishing\\Xml\\Publisher' => $baseDir . '/../lib/CalDAV/Publishing/Xml/Publisher.php',
47
-    'OCA\\DAV\\CalDAV\\ResourceBooking\\AbstractPrincipalBackend' => $baseDir . '/../lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php',
48
-    'OCA\\DAV\\CalDAV\\ResourceBooking\\ResourcePrincipalBackend' => $baseDir . '/../lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php',
49
-    'OCA\\DAV\\CalDAV\\ResourceBooking\\RoomPrincipalBackend' => $baseDir . '/../lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php',
50
-    'OCA\\DAV\\CalDAV\\Schedule\\IMipPlugin' => $baseDir . '/../lib/CalDAV/Schedule/IMipPlugin.php',
51
-    'OCA\\DAV\\CalDAV\\Schedule\\Plugin' => $baseDir . '/../lib/CalDAV/Schedule/Plugin.php',
52
-    'OCA\\DAV\\CalDAV\\Search\\SearchPlugin' => $baseDir . '/../lib/CalDAV/Search/SearchPlugin.php',
53
-    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\CompFilter' => $baseDir . '/../lib/CalDAV/Search/Xml/Filter/CompFilter.php',
54
-    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\LimitFilter' => $baseDir . '/../lib/CalDAV/Search/Xml/Filter/LimitFilter.php',
55
-    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\OffsetFilter' => $baseDir . '/../lib/CalDAV/Search/Xml/Filter/OffsetFilter.php',
56
-    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\ParamFilter' => $baseDir . '/../lib/CalDAV/Search/Xml/Filter/ParamFilter.php',
57
-    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\PropFilter' => $baseDir . '/../lib/CalDAV/Search/Xml/Filter/PropFilter.php',
58
-    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\SearchTermFilter' => $baseDir . '/../lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php',
59
-    'OCA\\DAV\\CalDAV\\Search\\Xml\\Request\\CalendarSearchReport' => $baseDir . '/../lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php',
60
-    'OCA\\DAV\\CalDAV\\WebcalCaching\\Plugin' => $baseDir . '/../lib/CalDAV/WebcalCaching/Plugin.php',
61
-    'OCA\\DAV\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
62
-    'OCA\\DAV\\CardDAV\\AddressBook' => $baseDir . '/../lib/CardDAV/AddressBook.php',
63
-    'OCA\\DAV\\CardDAV\\AddressBookImpl' => $baseDir . '/../lib/CardDAV/AddressBookImpl.php',
64
-    'OCA\\DAV\\CardDAV\\AddressBookRoot' => $baseDir . '/../lib/CardDAV/AddressBookRoot.php',
65
-    'OCA\\DAV\\CardDAV\\CardDavBackend' => $baseDir . '/../lib/CardDAV/CardDavBackend.php',
66
-    'OCA\\DAV\\CardDAV\\ContactsManager' => $baseDir . '/../lib/CardDAV/ContactsManager.php',
67
-    'OCA\\DAV\\CardDAV\\Converter' => $baseDir . '/../lib/CardDAV/Converter.php',
68
-    'OCA\\DAV\\CardDAV\\ImageExportPlugin' => $baseDir . '/../lib/CardDAV/ImageExportPlugin.php',
69
-    'OCA\\DAV\\CardDAV\\PhotoCache' => $baseDir . '/../lib/CardDAV/PhotoCache.php',
70
-    'OCA\\DAV\\CardDAV\\Plugin' => $baseDir . '/../lib/CardDAV/Plugin.php',
71
-    'OCA\\DAV\\CardDAV\\SyncService' => $baseDir . '/../lib/CardDAV/SyncService.php',
72
-    'OCA\\DAV\\CardDAV\\UserAddressBooks' => $baseDir . '/../lib/CardDAV/UserAddressBooks.php',
73
-    'OCA\\DAV\\CardDAV\\Xml\\Groups' => $baseDir . '/../lib/CardDAV/Xml/Groups.php',
74
-    'OCA\\DAV\\Command\\CreateAddressBook' => $baseDir . '/../lib/Command/CreateAddressBook.php',
75
-    'OCA\\DAV\\Command\\CreateCalendar' => $baseDir . '/../lib/Command/CreateCalendar.php',
76
-    'OCA\\DAV\\Command\\RemoveInvalidShares' => $baseDir . '/../lib/Command/RemoveInvalidShares.php',
77
-    'OCA\\DAV\\Command\\SyncBirthdayCalendar' => $baseDir . '/../lib/Command/SyncBirthdayCalendar.php',
78
-    'OCA\\DAV\\Command\\SyncSystemAddressBook' => $baseDir . '/../lib/Command/SyncSystemAddressBook.php',
79
-    'OCA\\DAV\\Comments\\CommentNode' => $baseDir . '/../lib/Comments/CommentNode.php',
80
-    'OCA\\DAV\\Comments\\CommentsPlugin' => $baseDir . '/../lib/Comments/CommentsPlugin.php',
81
-    'OCA\\DAV\\Comments\\EntityCollection' => $baseDir . '/../lib/Comments/EntityCollection.php',
82
-    'OCA\\DAV\\Comments\\EntityTypeCollection' => $baseDir . '/../lib/Comments/EntityTypeCollection.php',
83
-    'OCA\\DAV\\Comments\\RootCollection' => $baseDir . '/../lib/Comments/RootCollection.php',
84
-    'OCA\\DAV\\Connector\\LegacyDAVACL' => $baseDir . '/../lib/Connector/LegacyDAVACL.php',
85
-    'OCA\\DAV\\Connector\\PublicAuth' => $baseDir . '/../lib/Connector/PublicAuth.php',
86
-    'OCA\\DAV\\Connector\\Sabre\\AnonymousOptionsPlugin' => $baseDir . '/../lib/Connector/Sabre/AnonymousOptionsPlugin.php',
87
-    'OCA\\DAV\\Connector\\Sabre\\AppEnabledPlugin' => $baseDir . '/../lib/Connector/Sabre/AppEnabledPlugin.php',
88
-    'OCA\\DAV\\Connector\\Sabre\\Auth' => $baseDir . '/../lib/Connector/Sabre/Auth.php',
89
-    'OCA\\DAV\\Connector\\Sabre\\BearerAuth' => $baseDir . '/../lib/Connector/Sabre/BearerAuth.php',
90
-    'OCA\\DAV\\Connector\\Sabre\\BlockLegacyClientPlugin' => $baseDir . '/../lib/Connector/Sabre/BlockLegacyClientPlugin.php',
91
-    'OCA\\DAV\\Connector\\Sabre\\CachingTree' => $baseDir . '/../lib/Connector/Sabre/CachingTree.php',
92
-    'OCA\\DAV\\Connector\\Sabre\\ChecksumList' => $baseDir . '/../lib/Connector/Sabre/ChecksumList.php',
93
-    'OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin' => $baseDir . '/../lib/Connector/Sabre/CommentPropertiesPlugin.php',
94
-    'OCA\\DAV\\Connector\\Sabre\\CopyEtagHeaderPlugin' => $baseDir . '/../lib/Connector/Sabre/CopyEtagHeaderPlugin.php',
95
-    'OCA\\DAV\\Connector\\Sabre\\CustomPropertiesBackend' => $baseDir . '/../lib/Connector/Sabre/CustomPropertiesBackend.php',
96
-    'OCA\\DAV\\Connector\\Sabre\\DavAclPlugin' => $baseDir . '/../lib/Connector/Sabre/DavAclPlugin.php',
97
-    'OCA\\DAV\\Connector\\Sabre\\Directory' => $baseDir . '/../lib/Connector/Sabre/Directory.php',
98
-    'OCA\\DAV\\Connector\\Sabre\\DummyGetResponsePlugin' => $baseDir . '/../lib/Connector/Sabre/DummyGetResponsePlugin.php',
99
-    'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' => $baseDir . '/../lib/Connector/Sabre/ExceptionLoggerPlugin.php',
100
-    'OCA\\DAV\\Connector\\Sabre\\Exception\\EntityTooLarge' => $baseDir . '/../lib/Connector/Sabre/Exception/EntityTooLarge.php',
101
-    'OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked' => $baseDir . '/../lib/Connector/Sabre/Exception/FileLocked.php',
102
-    'OCA\\DAV\\Connector\\Sabre\\Exception\\Forbidden' => $baseDir . '/../lib/Connector/Sabre/Exception/Forbidden.php',
103
-    'OCA\\DAV\\Connector\\Sabre\\Exception\\InvalidPath' => $baseDir . '/../lib/Connector/Sabre/Exception/InvalidPath.php',
104
-    'OCA\\DAV\\Connector\\Sabre\\Exception\\PasswordLoginForbidden' => $baseDir . '/../lib/Connector/Sabre/Exception/PasswordLoginForbidden.php',
105
-    'OCA\\DAV\\Connector\\Sabre\\Exception\\UnsupportedMediaType' => $baseDir . '/../lib/Connector/Sabre/Exception/UnsupportedMediaType.php',
106
-    'OCA\\DAV\\Connector\\Sabre\\FakeLockerPlugin' => $baseDir . '/../lib/Connector/Sabre/FakeLockerPlugin.php',
107
-    'OCA\\DAV\\Connector\\Sabre\\File' => $baseDir . '/../lib/Connector/Sabre/File.php',
108
-    'OCA\\DAV\\Connector\\Sabre\\FilesPlugin' => $baseDir . '/../lib/Connector/Sabre/FilesPlugin.php',
109
-    'OCA\\DAV\\Connector\\Sabre\\FilesReportPlugin' => $baseDir . '/../lib/Connector/Sabre/FilesReportPlugin.php',
110
-    'OCA\\DAV\\Connector\\Sabre\\LockPlugin' => $baseDir . '/../lib/Connector/Sabre/LockPlugin.php',
111
-    'OCA\\DAV\\Connector\\Sabre\\MaintenancePlugin' => $baseDir . '/../lib/Connector/Sabre/MaintenancePlugin.php',
112
-    'OCA\\DAV\\Connector\\Sabre\\Node' => $baseDir . '/../lib/Connector/Sabre/Node.php',
113
-    'OCA\\DAV\\Connector\\Sabre\\ObjectTree' => $baseDir . '/../lib/Connector/Sabre/ObjectTree.php',
114
-    'OCA\\DAV\\Connector\\Sabre\\Principal' => $baseDir . '/../lib/Connector/Sabre/Principal.php',
115
-    'OCA\\DAV\\Connector\\Sabre\\QuotaPlugin' => $baseDir . '/../lib/Connector/Sabre/QuotaPlugin.php',
116
-    'OCA\\DAV\\Connector\\Sabre\\Server' => $baseDir . '/../lib/Connector/Sabre/Server.php',
117
-    'OCA\\DAV\\Connector\\Sabre\\ServerFactory' => $baseDir . '/../lib/Connector/Sabre/ServerFactory.php',
118
-    'OCA\\DAV\\Connector\\Sabre\\ShareTypeList' => $baseDir . '/../lib/Connector/Sabre/ShareTypeList.php',
119
-    'OCA\\DAV\\Connector\\Sabre\\SharesPlugin' => $baseDir . '/../lib/Connector/Sabre/SharesPlugin.php',
120
-    'OCA\\DAV\\Connector\\Sabre\\TagList' => $baseDir . '/../lib/Connector/Sabre/TagList.php',
121
-    'OCA\\DAV\\Connector\\Sabre\\TagsPlugin' => $baseDir . '/../lib/Connector/Sabre/TagsPlugin.php',
122
-    'OCA\\DAV\\Controller\\BirthdayCalendarController' => $baseDir . '/../lib/Controller/BirthdayCalendarController.php',
123
-    'OCA\\DAV\\Controller\\DirectController' => $baseDir . '/../lib/Controller/DirectController.php',
124
-    'OCA\\DAV\\DAV\\CustomPropertiesBackend' => $baseDir . '/../lib/DAV/CustomPropertiesBackend.php',
125
-    'OCA\\DAV\\DAV\\GroupPrincipalBackend' => $baseDir . '/../lib/DAV/GroupPrincipalBackend.php',
126
-    'OCA\\DAV\\DAV\\PublicAuth' => $baseDir . '/../lib/DAV/PublicAuth.php',
127
-    'OCA\\DAV\\DAV\\Sharing\\Backend' => $baseDir . '/../lib/DAV/Sharing/Backend.php',
128
-    'OCA\\DAV\\DAV\\Sharing\\IShareable' => $baseDir . '/../lib/DAV/Sharing/IShareable.php',
129
-    'OCA\\DAV\\DAV\\Sharing\\Plugin' => $baseDir . '/../lib/DAV/Sharing/Plugin.php',
130
-    'OCA\\DAV\\DAV\\Sharing\\Xml\\Invite' => $baseDir . '/../lib/DAV/Sharing/Xml/Invite.php',
131
-    'OCA\\DAV\\DAV\\Sharing\\Xml\\ShareRequest' => $baseDir . '/../lib/DAV/Sharing/Xml/ShareRequest.php',
132
-    'OCA\\DAV\\DAV\\SystemPrincipalBackend' => $baseDir . '/../lib/DAV/SystemPrincipalBackend.php',
133
-    'OCA\\DAV\\Db\\Direct' => $baseDir . '/../lib/Db/Direct.php',
134
-    'OCA\\DAV\\Db\\DirectMapper' => $baseDir . '/../lib/Db/DirectMapper.php',
135
-    'OCA\\DAV\\Direct\\DirectFile' => $baseDir . '/../lib/Direct/DirectFile.php',
136
-    'OCA\\DAV\\Direct\\DirectHome' => $baseDir . '/../lib/Direct/DirectHome.php',
137
-    'OCA\\DAV\\Direct\\Server' => $baseDir . '/../lib/Direct/Server.php',
138
-    'OCA\\DAV\\Direct\\ServerFactory' => $baseDir . '/../lib/Direct/ServerFactory.php',
139
-    'OCA\\DAV\\Files\\BrowserErrorPagePlugin' => $baseDir . '/../lib/Files/BrowserErrorPagePlugin.php',
140
-    'OCA\\DAV\\Files\\FileSearchBackend' => $baseDir . '/../lib/Files/FileSearchBackend.php',
141
-    'OCA\\DAV\\Files\\FilesHome' => $baseDir . '/../lib/Files/FilesHome.php',
142
-    'OCA\\DAV\\Files\\LazySearchBackend' => $baseDir . '/../lib/Files/LazySearchBackend.php',
143
-    'OCA\\DAV\\Files\\RootCollection' => $baseDir . '/../lib/Files/RootCollection.php',
144
-    'OCA\\DAV\\Files\\Sharing\\FilesDropPlugin' => $baseDir . '/../lib/Files/Sharing/FilesDropPlugin.php',
145
-    'OCA\\DAV\\Files\\Sharing\\PublicLinkCheckPlugin' => $baseDir . '/../lib/Files/Sharing/PublicLinkCheckPlugin.php',
146
-    'OCA\\DAV\\HookManager' => $baseDir . '/../lib/HookManager.php',
147
-    'OCA\\DAV\\Migration\\BuildCalendarSearchIndex' => $baseDir . '/../lib/Migration/BuildCalendarSearchIndex.php',
148
-    'OCA\\DAV\\Migration\\BuildCalendarSearchIndexBackgroundJob' => $baseDir . '/../lib/Migration/BuildCalendarSearchIndexBackgroundJob.php',
149
-    'OCA\\DAV\\Migration\\CalDAVRemoveEmptyValue' => $baseDir . '/../lib/Migration/CalDAVRemoveEmptyValue.php',
150
-    'OCA\\DAV\\Migration\\FixBirthdayCalendarComponent' => $baseDir . '/../lib/Migration/FixBirthdayCalendarComponent.php',
151
-    'OCA\\DAV\\Migration\\RefreshWebcalJobRegistrar' => $baseDir . '/../lib/Migration/RefreshWebcalJobRegistrar.php',
152
-    'OCA\\DAV\\Migration\\Version1004Date20170825134824' => $baseDir . '/../lib/Migration/Version1004Date20170825134824.php',
153
-    'OCA\\DAV\\Migration\\Version1004Date20170919104507' => $baseDir . '/../lib/Migration/Version1004Date20170919104507.php',
154
-    'OCA\\DAV\\Migration\\Version1004Date20170924124212' => $baseDir . '/../lib/Migration/Version1004Date20170924124212.php',
155
-    'OCA\\DAV\\Migration\\Version1004Date20170926103422' => $baseDir . '/../lib/Migration/Version1004Date20170926103422.php',
156
-    'OCA\\DAV\\Migration\\Version1005Date20180413093149' => $baseDir . '/../lib/Migration/Version1005Date20180413093149.php',
157
-    'OCA\\DAV\\Migration\\Version1005Date20180530124431' => $baseDir . '/../lib/Migration/Version1005Date20180530124431.php',
158
-    'OCA\\DAV\\Migration\\Version1006Date20180628111625' => $baseDir . '/../lib/Migration/Version1006Date20180628111625.php',
159
-    'OCA\\DAV\\RootCollection' => $baseDir . '/../lib/RootCollection.php',
160
-    'OCA\\DAV\\Server' => $baseDir . '/../lib/Server.php',
161
-    'OCA\\DAV\\Settings\\CalDAVSettings' => $baseDir . '/../lib/Settings/CalDAVSettings.php',
162
-    'OCA\\DAV\\SystemTag\\SystemTagMappingNode' => $baseDir . '/../lib/SystemTag/SystemTagMappingNode.php',
163
-    'OCA\\DAV\\SystemTag\\SystemTagNode' => $baseDir . '/../lib/SystemTag/SystemTagNode.php',
164
-    'OCA\\DAV\\SystemTag\\SystemTagPlugin' => $baseDir . '/../lib/SystemTag/SystemTagPlugin.php',
165
-    'OCA\\DAV\\SystemTag\\SystemTagsByIdCollection' => $baseDir . '/../lib/SystemTag/SystemTagsByIdCollection.php',
166
-    'OCA\\DAV\\SystemTag\\SystemTagsObjectMappingCollection' => $baseDir . '/../lib/SystemTag/SystemTagsObjectMappingCollection.php',
167
-    'OCA\\DAV\\SystemTag\\SystemTagsObjectTypeCollection' => $baseDir . '/../lib/SystemTag/SystemTagsObjectTypeCollection.php',
168
-    'OCA\\DAV\\SystemTag\\SystemTagsRelationsCollection' => $baseDir . '/../lib/SystemTag/SystemTagsRelationsCollection.php',
169
-    'OCA\\DAV\\Upload\\AssemblyStream' => $baseDir . '/../lib/Upload/AssemblyStream.php',
170
-    'OCA\\DAV\\Upload\\ChunkingPlugin' => $baseDir . '/../lib/Upload/ChunkingPlugin.php',
171
-    'OCA\\DAV\\Upload\\FutureFile' => $baseDir . '/../lib/Upload/FutureFile.php',
172
-    'OCA\\DAV\\Upload\\RootCollection' => $baseDir . '/../lib/Upload/RootCollection.php',
173
-    'OCA\\DAV\\Upload\\UploadFolder' => $baseDir . '/../lib/Upload/UploadFolder.php',
174
-    'OCA\\DAV\\Upload\\UploadHome' => $baseDir . '/../lib/Upload/UploadHome.php',
9
+    'OCA\\DAV\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
10
+    'OCA\\DAV\\AppInfo\\PluginManager' => $baseDir.'/../lib/AppInfo/PluginManager.php',
11
+    'OCA\\DAV\\Avatars\\AvatarHome' => $baseDir.'/../lib/Avatars/AvatarHome.php',
12
+    'OCA\\DAV\\Avatars\\AvatarNode' => $baseDir.'/../lib/Avatars/AvatarNode.php',
13
+    'OCA\\DAV\\Avatars\\RootCollection' => $baseDir.'/../lib/Avatars/RootCollection.php',
14
+    'OCA\\DAV\\BackgroundJob\\CleanupDirectLinksJob' => $baseDir.'/../lib/BackgroundJob/CleanupDirectLinksJob.php',
15
+    'OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob' => $baseDir.'/../lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php',
16
+    'OCA\\DAV\\BackgroundJob\\RefreshWebcalJob' => $baseDir.'/../lib/BackgroundJob/RefreshWebcalJob.php',
17
+    'OCA\\DAV\\BackgroundJob\\UpdateCalendarResourcesRoomsBackgroundJob' => $baseDir.'/../lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php',
18
+    'OCA\\DAV\\CalDAV\\Activity\\Backend' => $baseDir.'/../lib/CalDAV/Activity/Backend.php',
19
+    'OCA\\DAV\\CalDAV\\Activity\\Filter\\Calendar' => $baseDir.'/../lib/CalDAV/Activity/Filter/Calendar.php',
20
+    'OCA\\DAV\\CalDAV\\Activity\\Filter\\Todo' => $baseDir.'/../lib/CalDAV/Activity/Filter/Todo.php',
21
+    'OCA\\DAV\\CalDAV\\Activity\\Provider\\Base' => $baseDir.'/../lib/CalDAV/Activity/Provider/Base.php',
22
+    'OCA\\DAV\\CalDAV\\Activity\\Provider\\Calendar' => $baseDir.'/../lib/CalDAV/Activity/Provider/Calendar.php',
23
+    'OCA\\DAV\\CalDAV\\Activity\\Provider\\Event' => $baseDir.'/../lib/CalDAV/Activity/Provider/Event.php',
24
+    'OCA\\DAV\\CalDAV\\Activity\\Provider\\Todo' => $baseDir.'/../lib/CalDAV/Activity/Provider/Todo.php',
25
+    'OCA\\DAV\\CalDAV\\Activity\\Setting\\Calendar' => $baseDir.'/../lib/CalDAV/Activity/Setting/Calendar.php',
26
+    'OCA\\DAV\\CalDAV\\Activity\\Setting\\Event' => $baseDir.'/../lib/CalDAV/Activity/Setting/Event.php',
27
+    'OCA\\DAV\\CalDAV\\Activity\\Setting\\Todo' => $baseDir.'/../lib/CalDAV/Activity/Setting/Todo.php',
28
+    'OCA\\DAV\\CalDAV\\BirthdayCalendar\\EnablePlugin' => $baseDir.'/../lib/CalDAV/BirthdayCalendar/EnablePlugin.php',
29
+    'OCA\\DAV\\CalDAV\\BirthdayService' => $baseDir.'/../lib/CalDAV/BirthdayService.php',
30
+    'OCA\\DAV\\CalDAV\\CachedSubscription' => $baseDir.'/../lib/CalDAV/CachedSubscription.php',
31
+    'OCA\\DAV\\CalDAV\\CachedSubscriptionObject' => $baseDir.'/../lib/CalDAV/CachedSubscriptionObject.php',
32
+    'OCA\\DAV\\CalDAV\\CalDavBackend' => $baseDir.'/../lib/CalDAV/CalDavBackend.php',
33
+    'OCA\\DAV\\CalDAV\\Calendar' => $baseDir.'/../lib/CalDAV/Calendar.php',
34
+    'OCA\\DAV\\CalDAV\\CalendarHome' => $baseDir.'/../lib/CalDAV/CalendarHome.php',
35
+    'OCA\\DAV\\CalDAV\\CalendarImpl' => $baseDir.'/../lib/CalDAV/CalendarImpl.php',
36
+    'OCA\\DAV\\CalDAV\\CalendarManager' => $baseDir.'/../lib/CalDAV/CalendarManager.php',
37
+    'OCA\\DAV\\CalDAV\\CalendarObject' => $baseDir.'/../lib/CalDAV/CalendarObject.php',
38
+    'OCA\\DAV\\CalDAV\\CalendarRoot' => $baseDir.'/../lib/CalDAV/CalendarRoot.php',
39
+    'OCA\\DAV\\CalDAV\\Plugin' => $baseDir.'/../lib/CalDAV/Plugin.php',
40
+    'OCA\\DAV\\CalDAV\\Principal\\Collection' => $baseDir.'/../lib/CalDAV/Principal/Collection.php',
41
+    'OCA\\DAV\\CalDAV\\Principal\\User' => $baseDir.'/../lib/CalDAV/Principal/User.php',
42
+    'OCA\\DAV\\CalDAV\\PublicCalendar' => $baseDir.'/../lib/CalDAV/PublicCalendar.php',
43
+    'OCA\\DAV\\CalDAV\\PublicCalendarObject' => $baseDir.'/../lib/CalDAV/PublicCalendarObject.php',
44
+    'OCA\\DAV\\CalDAV\\PublicCalendarRoot' => $baseDir.'/../lib/CalDAV/PublicCalendarRoot.php',
45
+    'OCA\\DAV\\CalDAV\\Publishing\\PublishPlugin' => $baseDir.'/../lib/CalDAV/Publishing/PublishPlugin.php',
46
+    'OCA\\DAV\\CalDAV\\Publishing\\Xml\\Publisher' => $baseDir.'/../lib/CalDAV/Publishing/Xml/Publisher.php',
47
+    'OCA\\DAV\\CalDAV\\ResourceBooking\\AbstractPrincipalBackend' => $baseDir.'/../lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php',
48
+    'OCA\\DAV\\CalDAV\\ResourceBooking\\ResourcePrincipalBackend' => $baseDir.'/../lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php',
49
+    'OCA\\DAV\\CalDAV\\ResourceBooking\\RoomPrincipalBackend' => $baseDir.'/../lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php',
50
+    'OCA\\DAV\\CalDAV\\Schedule\\IMipPlugin' => $baseDir.'/../lib/CalDAV/Schedule/IMipPlugin.php',
51
+    'OCA\\DAV\\CalDAV\\Schedule\\Plugin' => $baseDir.'/../lib/CalDAV/Schedule/Plugin.php',
52
+    'OCA\\DAV\\CalDAV\\Search\\SearchPlugin' => $baseDir.'/../lib/CalDAV/Search/SearchPlugin.php',
53
+    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\CompFilter' => $baseDir.'/../lib/CalDAV/Search/Xml/Filter/CompFilter.php',
54
+    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\LimitFilter' => $baseDir.'/../lib/CalDAV/Search/Xml/Filter/LimitFilter.php',
55
+    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\OffsetFilter' => $baseDir.'/../lib/CalDAV/Search/Xml/Filter/OffsetFilter.php',
56
+    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\ParamFilter' => $baseDir.'/../lib/CalDAV/Search/Xml/Filter/ParamFilter.php',
57
+    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\PropFilter' => $baseDir.'/../lib/CalDAV/Search/Xml/Filter/PropFilter.php',
58
+    'OCA\\DAV\\CalDAV\\Search\\Xml\\Filter\\SearchTermFilter' => $baseDir.'/../lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php',
59
+    'OCA\\DAV\\CalDAV\\Search\\Xml\\Request\\CalendarSearchReport' => $baseDir.'/../lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php',
60
+    'OCA\\DAV\\CalDAV\\WebcalCaching\\Plugin' => $baseDir.'/../lib/CalDAV/WebcalCaching/Plugin.php',
61
+    'OCA\\DAV\\Capabilities' => $baseDir.'/../lib/Capabilities.php',
62
+    'OCA\\DAV\\CardDAV\\AddressBook' => $baseDir.'/../lib/CardDAV/AddressBook.php',
63
+    'OCA\\DAV\\CardDAV\\AddressBookImpl' => $baseDir.'/../lib/CardDAV/AddressBookImpl.php',
64
+    'OCA\\DAV\\CardDAV\\AddressBookRoot' => $baseDir.'/../lib/CardDAV/AddressBookRoot.php',
65
+    'OCA\\DAV\\CardDAV\\CardDavBackend' => $baseDir.'/../lib/CardDAV/CardDavBackend.php',
66
+    'OCA\\DAV\\CardDAV\\ContactsManager' => $baseDir.'/../lib/CardDAV/ContactsManager.php',
67
+    'OCA\\DAV\\CardDAV\\Converter' => $baseDir.'/../lib/CardDAV/Converter.php',
68
+    'OCA\\DAV\\CardDAV\\ImageExportPlugin' => $baseDir.'/../lib/CardDAV/ImageExportPlugin.php',
69
+    'OCA\\DAV\\CardDAV\\PhotoCache' => $baseDir.'/../lib/CardDAV/PhotoCache.php',
70
+    'OCA\\DAV\\CardDAV\\Plugin' => $baseDir.'/../lib/CardDAV/Plugin.php',
71
+    'OCA\\DAV\\CardDAV\\SyncService' => $baseDir.'/../lib/CardDAV/SyncService.php',
72
+    'OCA\\DAV\\CardDAV\\UserAddressBooks' => $baseDir.'/../lib/CardDAV/UserAddressBooks.php',
73
+    'OCA\\DAV\\CardDAV\\Xml\\Groups' => $baseDir.'/../lib/CardDAV/Xml/Groups.php',
74
+    'OCA\\DAV\\Command\\CreateAddressBook' => $baseDir.'/../lib/Command/CreateAddressBook.php',
75
+    'OCA\\DAV\\Command\\CreateCalendar' => $baseDir.'/../lib/Command/CreateCalendar.php',
76
+    'OCA\\DAV\\Command\\RemoveInvalidShares' => $baseDir.'/../lib/Command/RemoveInvalidShares.php',
77
+    'OCA\\DAV\\Command\\SyncBirthdayCalendar' => $baseDir.'/../lib/Command/SyncBirthdayCalendar.php',
78
+    'OCA\\DAV\\Command\\SyncSystemAddressBook' => $baseDir.'/../lib/Command/SyncSystemAddressBook.php',
79
+    'OCA\\DAV\\Comments\\CommentNode' => $baseDir.'/../lib/Comments/CommentNode.php',
80
+    'OCA\\DAV\\Comments\\CommentsPlugin' => $baseDir.'/../lib/Comments/CommentsPlugin.php',
81
+    'OCA\\DAV\\Comments\\EntityCollection' => $baseDir.'/../lib/Comments/EntityCollection.php',
82
+    'OCA\\DAV\\Comments\\EntityTypeCollection' => $baseDir.'/../lib/Comments/EntityTypeCollection.php',
83
+    'OCA\\DAV\\Comments\\RootCollection' => $baseDir.'/../lib/Comments/RootCollection.php',
84
+    'OCA\\DAV\\Connector\\LegacyDAVACL' => $baseDir.'/../lib/Connector/LegacyDAVACL.php',
85
+    'OCA\\DAV\\Connector\\PublicAuth' => $baseDir.'/../lib/Connector/PublicAuth.php',
86
+    'OCA\\DAV\\Connector\\Sabre\\AnonymousOptionsPlugin' => $baseDir.'/../lib/Connector/Sabre/AnonymousOptionsPlugin.php',
87
+    'OCA\\DAV\\Connector\\Sabre\\AppEnabledPlugin' => $baseDir.'/../lib/Connector/Sabre/AppEnabledPlugin.php',
88
+    'OCA\\DAV\\Connector\\Sabre\\Auth' => $baseDir.'/../lib/Connector/Sabre/Auth.php',
89
+    'OCA\\DAV\\Connector\\Sabre\\BearerAuth' => $baseDir.'/../lib/Connector/Sabre/BearerAuth.php',
90
+    'OCA\\DAV\\Connector\\Sabre\\BlockLegacyClientPlugin' => $baseDir.'/../lib/Connector/Sabre/BlockLegacyClientPlugin.php',
91
+    'OCA\\DAV\\Connector\\Sabre\\CachingTree' => $baseDir.'/../lib/Connector/Sabre/CachingTree.php',
92
+    'OCA\\DAV\\Connector\\Sabre\\ChecksumList' => $baseDir.'/../lib/Connector/Sabre/ChecksumList.php',
93
+    'OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin' => $baseDir.'/../lib/Connector/Sabre/CommentPropertiesPlugin.php',
94
+    'OCA\\DAV\\Connector\\Sabre\\CopyEtagHeaderPlugin' => $baseDir.'/../lib/Connector/Sabre/CopyEtagHeaderPlugin.php',
95
+    'OCA\\DAV\\Connector\\Sabre\\CustomPropertiesBackend' => $baseDir.'/../lib/Connector/Sabre/CustomPropertiesBackend.php',
96
+    'OCA\\DAV\\Connector\\Sabre\\DavAclPlugin' => $baseDir.'/../lib/Connector/Sabre/DavAclPlugin.php',
97
+    'OCA\\DAV\\Connector\\Sabre\\Directory' => $baseDir.'/../lib/Connector/Sabre/Directory.php',
98
+    'OCA\\DAV\\Connector\\Sabre\\DummyGetResponsePlugin' => $baseDir.'/../lib/Connector/Sabre/DummyGetResponsePlugin.php',
99
+    'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' => $baseDir.'/../lib/Connector/Sabre/ExceptionLoggerPlugin.php',
100
+    'OCA\\DAV\\Connector\\Sabre\\Exception\\EntityTooLarge' => $baseDir.'/../lib/Connector/Sabre/Exception/EntityTooLarge.php',
101
+    'OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked' => $baseDir.'/../lib/Connector/Sabre/Exception/FileLocked.php',
102
+    'OCA\\DAV\\Connector\\Sabre\\Exception\\Forbidden' => $baseDir.'/../lib/Connector/Sabre/Exception/Forbidden.php',
103
+    'OCA\\DAV\\Connector\\Sabre\\Exception\\InvalidPath' => $baseDir.'/../lib/Connector/Sabre/Exception/InvalidPath.php',
104
+    'OCA\\DAV\\Connector\\Sabre\\Exception\\PasswordLoginForbidden' => $baseDir.'/../lib/Connector/Sabre/Exception/PasswordLoginForbidden.php',
105
+    'OCA\\DAV\\Connector\\Sabre\\Exception\\UnsupportedMediaType' => $baseDir.'/../lib/Connector/Sabre/Exception/UnsupportedMediaType.php',
106
+    'OCA\\DAV\\Connector\\Sabre\\FakeLockerPlugin' => $baseDir.'/../lib/Connector/Sabre/FakeLockerPlugin.php',
107
+    'OCA\\DAV\\Connector\\Sabre\\File' => $baseDir.'/../lib/Connector/Sabre/File.php',
108
+    'OCA\\DAV\\Connector\\Sabre\\FilesPlugin' => $baseDir.'/../lib/Connector/Sabre/FilesPlugin.php',
109
+    'OCA\\DAV\\Connector\\Sabre\\FilesReportPlugin' => $baseDir.'/../lib/Connector/Sabre/FilesReportPlugin.php',
110
+    'OCA\\DAV\\Connector\\Sabre\\LockPlugin' => $baseDir.'/../lib/Connector/Sabre/LockPlugin.php',
111
+    'OCA\\DAV\\Connector\\Sabre\\MaintenancePlugin' => $baseDir.'/../lib/Connector/Sabre/MaintenancePlugin.php',
112
+    'OCA\\DAV\\Connector\\Sabre\\Node' => $baseDir.'/../lib/Connector/Sabre/Node.php',
113
+    'OCA\\DAV\\Connector\\Sabre\\ObjectTree' => $baseDir.'/../lib/Connector/Sabre/ObjectTree.php',
114
+    'OCA\\DAV\\Connector\\Sabre\\Principal' => $baseDir.'/../lib/Connector/Sabre/Principal.php',
115
+    'OCA\\DAV\\Connector\\Sabre\\QuotaPlugin' => $baseDir.'/../lib/Connector/Sabre/QuotaPlugin.php',
116
+    'OCA\\DAV\\Connector\\Sabre\\Server' => $baseDir.'/../lib/Connector/Sabre/Server.php',
117
+    'OCA\\DAV\\Connector\\Sabre\\ServerFactory' => $baseDir.'/../lib/Connector/Sabre/ServerFactory.php',
118
+    'OCA\\DAV\\Connector\\Sabre\\ShareTypeList' => $baseDir.'/../lib/Connector/Sabre/ShareTypeList.php',
119
+    'OCA\\DAV\\Connector\\Sabre\\SharesPlugin' => $baseDir.'/../lib/Connector/Sabre/SharesPlugin.php',
120
+    'OCA\\DAV\\Connector\\Sabre\\TagList' => $baseDir.'/../lib/Connector/Sabre/TagList.php',
121
+    'OCA\\DAV\\Connector\\Sabre\\TagsPlugin' => $baseDir.'/../lib/Connector/Sabre/TagsPlugin.php',
122
+    'OCA\\DAV\\Controller\\BirthdayCalendarController' => $baseDir.'/../lib/Controller/BirthdayCalendarController.php',
123
+    'OCA\\DAV\\Controller\\DirectController' => $baseDir.'/../lib/Controller/DirectController.php',
124
+    'OCA\\DAV\\DAV\\CustomPropertiesBackend' => $baseDir.'/../lib/DAV/CustomPropertiesBackend.php',
125
+    'OCA\\DAV\\DAV\\GroupPrincipalBackend' => $baseDir.'/../lib/DAV/GroupPrincipalBackend.php',
126
+    'OCA\\DAV\\DAV\\PublicAuth' => $baseDir.'/../lib/DAV/PublicAuth.php',
127
+    'OCA\\DAV\\DAV\\Sharing\\Backend' => $baseDir.'/../lib/DAV/Sharing/Backend.php',
128
+    'OCA\\DAV\\DAV\\Sharing\\IShareable' => $baseDir.'/../lib/DAV/Sharing/IShareable.php',
129
+    'OCA\\DAV\\DAV\\Sharing\\Plugin' => $baseDir.'/../lib/DAV/Sharing/Plugin.php',
130
+    'OCA\\DAV\\DAV\\Sharing\\Xml\\Invite' => $baseDir.'/../lib/DAV/Sharing/Xml/Invite.php',
131
+    'OCA\\DAV\\DAV\\Sharing\\Xml\\ShareRequest' => $baseDir.'/../lib/DAV/Sharing/Xml/ShareRequest.php',
132
+    'OCA\\DAV\\DAV\\SystemPrincipalBackend' => $baseDir.'/../lib/DAV/SystemPrincipalBackend.php',
133
+    'OCA\\DAV\\Db\\Direct' => $baseDir.'/../lib/Db/Direct.php',
134
+    'OCA\\DAV\\Db\\DirectMapper' => $baseDir.'/../lib/Db/DirectMapper.php',
135
+    'OCA\\DAV\\Direct\\DirectFile' => $baseDir.'/../lib/Direct/DirectFile.php',
136
+    'OCA\\DAV\\Direct\\DirectHome' => $baseDir.'/../lib/Direct/DirectHome.php',
137
+    'OCA\\DAV\\Direct\\Server' => $baseDir.'/../lib/Direct/Server.php',
138
+    'OCA\\DAV\\Direct\\ServerFactory' => $baseDir.'/../lib/Direct/ServerFactory.php',
139
+    'OCA\\DAV\\Files\\BrowserErrorPagePlugin' => $baseDir.'/../lib/Files/BrowserErrorPagePlugin.php',
140
+    'OCA\\DAV\\Files\\FileSearchBackend' => $baseDir.'/../lib/Files/FileSearchBackend.php',
141
+    'OCA\\DAV\\Files\\FilesHome' => $baseDir.'/../lib/Files/FilesHome.php',
142
+    'OCA\\DAV\\Files\\LazySearchBackend' => $baseDir.'/../lib/Files/LazySearchBackend.php',
143
+    'OCA\\DAV\\Files\\RootCollection' => $baseDir.'/../lib/Files/RootCollection.php',
144
+    'OCA\\DAV\\Files\\Sharing\\FilesDropPlugin' => $baseDir.'/../lib/Files/Sharing/FilesDropPlugin.php',
145
+    'OCA\\DAV\\Files\\Sharing\\PublicLinkCheckPlugin' => $baseDir.'/../lib/Files/Sharing/PublicLinkCheckPlugin.php',
146
+    'OCA\\DAV\\HookManager' => $baseDir.'/../lib/HookManager.php',
147
+    'OCA\\DAV\\Migration\\BuildCalendarSearchIndex' => $baseDir.'/../lib/Migration/BuildCalendarSearchIndex.php',
148
+    'OCA\\DAV\\Migration\\BuildCalendarSearchIndexBackgroundJob' => $baseDir.'/../lib/Migration/BuildCalendarSearchIndexBackgroundJob.php',
149
+    'OCA\\DAV\\Migration\\CalDAVRemoveEmptyValue' => $baseDir.'/../lib/Migration/CalDAVRemoveEmptyValue.php',
150
+    'OCA\\DAV\\Migration\\FixBirthdayCalendarComponent' => $baseDir.'/../lib/Migration/FixBirthdayCalendarComponent.php',
151
+    'OCA\\DAV\\Migration\\RefreshWebcalJobRegistrar' => $baseDir.'/../lib/Migration/RefreshWebcalJobRegistrar.php',
152
+    'OCA\\DAV\\Migration\\Version1004Date20170825134824' => $baseDir.'/../lib/Migration/Version1004Date20170825134824.php',
153
+    'OCA\\DAV\\Migration\\Version1004Date20170919104507' => $baseDir.'/../lib/Migration/Version1004Date20170919104507.php',
154
+    'OCA\\DAV\\Migration\\Version1004Date20170924124212' => $baseDir.'/../lib/Migration/Version1004Date20170924124212.php',
155
+    'OCA\\DAV\\Migration\\Version1004Date20170926103422' => $baseDir.'/../lib/Migration/Version1004Date20170926103422.php',
156
+    'OCA\\DAV\\Migration\\Version1005Date20180413093149' => $baseDir.'/../lib/Migration/Version1005Date20180413093149.php',
157
+    'OCA\\DAV\\Migration\\Version1005Date20180530124431' => $baseDir.'/../lib/Migration/Version1005Date20180530124431.php',
158
+    'OCA\\DAV\\Migration\\Version1006Date20180628111625' => $baseDir.'/../lib/Migration/Version1006Date20180628111625.php',
159
+    'OCA\\DAV\\RootCollection' => $baseDir.'/../lib/RootCollection.php',
160
+    'OCA\\DAV\\Server' => $baseDir.'/../lib/Server.php',
161
+    'OCA\\DAV\\Settings\\CalDAVSettings' => $baseDir.'/../lib/Settings/CalDAVSettings.php',
162
+    'OCA\\DAV\\SystemTag\\SystemTagMappingNode' => $baseDir.'/../lib/SystemTag/SystemTagMappingNode.php',
163
+    'OCA\\DAV\\SystemTag\\SystemTagNode' => $baseDir.'/../lib/SystemTag/SystemTagNode.php',
164
+    'OCA\\DAV\\SystemTag\\SystemTagPlugin' => $baseDir.'/../lib/SystemTag/SystemTagPlugin.php',
165
+    'OCA\\DAV\\SystemTag\\SystemTagsByIdCollection' => $baseDir.'/../lib/SystemTag/SystemTagsByIdCollection.php',
166
+    'OCA\\DAV\\SystemTag\\SystemTagsObjectMappingCollection' => $baseDir.'/../lib/SystemTag/SystemTagsObjectMappingCollection.php',
167
+    'OCA\\DAV\\SystemTag\\SystemTagsObjectTypeCollection' => $baseDir.'/../lib/SystemTag/SystemTagsObjectTypeCollection.php',
168
+    'OCA\\DAV\\SystemTag\\SystemTagsRelationsCollection' => $baseDir.'/../lib/SystemTag/SystemTagsRelationsCollection.php',
169
+    'OCA\\DAV\\Upload\\AssemblyStream' => $baseDir.'/../lib/Upload/AssemblyStream.php',
170
+    'OCA\\DAV\\Upload\\ChunkingPlugin' => $baseDir.'/../lib/Upload/ChunkingPlugin.php',
171
+    'OCA\\DAV\\Upload\\FutureFile' => $baseDir.'/../lib/Upload/FutureFile.php',
172
+    'OCA\\DAV\\Upload\\RootCollection' => $baseDir.'/../lib/Upload/RootCollection.php',
173
+    'OCA\\DAV\\Upload\\UploadFolder' => $baseDir.'/../lib/Upload/UploadFolder.php',
174
+    'OCA\\DAV\\Upload\\UploadHome' => $baseDir.'/../lib/Upload/UploadHome.php',
175 175
 );
Please login to merge, or discard this patch.
apps/dav/appinfo/app.php 1 patch
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -31,59 +31,59 @@  discard block
 block discarded – undo
31 31
 $app->registerHooks();
32 32
 
33 33
 \OC::$server->registerService('CardDAVSyncService', function() use ($app) {
34
-	return $app->getSyncService();
34
+    return $app->getSyncService();
35 35
 });
36 36
 
37 37
 $eventDispatcher = \OC::$server->getEventDispatcher();
38 38
 
39 39
 $eventDispatcher->addListener('OCP\Federation\TrustedServerEvent::remove',
40
-	function(GenericEvent $event) use ($app) {
41
-		/** @var CardDavBackend $cardDavBackend */
42
-		$cardDavBackend = $app->getContainer()->query(CardDavBackend::class);
43
-		$addressBookUri = $event->getSubject();
44
-		$addressBook = $cardDavBackend->getAddressBooksByUri('principals/system/system', $addressBookUri);
45
-		if (!is_null($addressBook)) {
46
-			$cardDavBackend->deleteAddressBook($addressBook['id']);
47
-		}
48
-	}
40
+    function(GenericEvent $event) use ($app) {
41
+        /** @var CardDavBackend $cardDavBackend */
42
+        $cardDavBackend = $app->getContainer()->query(CardDavBackend::class);
43
+        $addressBookUri = $event->getSubject();
44
+        $addressBook = $cardDavBackend->getAddressBooksByUri('principals/system/system', $addressBookUri);
45
+        if (!is_null($addressBook)) {
46
+            $cardDavBackend->deleteAddressBook($addressBook['id']);
47
+        }
48
+    }
49 49
 );
50 50
 
51 51
 $eventDispatcher->addListener('\OCA\DAV\CalDAV\CalDavBackend::createSubscription',
52
-	function(GenericEvent $event) use ($app) {
53
-		$jobList = $app->getContainer()->getServer()->getJobList();
54
-		$subscriptionData = $event->getArgument('subscriptionData');
52
+    function(GenericEvent $event) use ($app) {
53
+        $jobList = $app->getContainer()->getServer()->getJobList();
54
+        $subscriptionData = $event->getArgument('subscriptionData');
55 55
 
56
-		$jobList->add(\OCA\DAV\BackgroundJob\RefreshWebcalJob::class, [
57
-			'principaluri' => $subscriptionData['principaluri'],
58
-			'uri' => $subscriptionData['uri']
59
-		]);
60
-	}
56
+        $jobList->add(\OCA\DAV\BackgroundJob\RefreshWebcalJob::class, [
57
+            'principaluri' => $subscriptionData['principaluri'],
58
+            'uri' => $subscriptionData['uri']
59
+        ]);
60
+    }
61 61
 );
62 62
 
63 63
 $eventDispatcher->addListener('\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription',
64
-	function(GenericEvent $event) use ($app) {
65
-		$jobList = $app->getContainer()->getServer()->getJobList();
66
-		$subscriptionData = $event->getArgument('subscriptionData');
64
+    function(GenericEvent $event) use ($app) {
65
+        $jobList = $app->getContainer()->getServer()->getJobList();
66
+        $subscriptionData = $event->getArgument('subscriptionData');
67 67
 
68
-		$jobList->remove(\OCA\DAV\BackgroundJob\RefreshWebcalJob::class, [
69
-			'principaluri' => $subscriptionData['principaluri'],
70
-			'uri' => $subscriptionData['uri']
71
-		]);
68
+        $jobList->remove(\OCA\DAV\BackgroundJob\RefreshWebcalJob::class, [
69
+            'principaluri' => $subscriptionData['principaluri'],
70
+            'uri' => $subscriptionData['uri']
71
+        ]);
72 72
 
73
-		/** @var \OCA\DAV\CalDAV\CalDavBackend $calDavBackend */
74
-		$calDavBackend = $app->getContainer()->query(\OCA\DAV\CalDAV\CalDavBackend::class);
75
-		$calDavBackend->purgeAllCachedEventsForSubscription($subscriptionData['id']);
76
-	}
73
+        /** @var \OCA\DAV\CalDAV\CalDavBackend $calDavBackend */
74
+        $calDavBackend = $app->getContainer()->query(\OCA\DAV\CalDAV\CalDavBackend::class);
75
+        $calDavBackend->purgeAllCachedEventsForSubscription($subscriptionData['id']);
76
+    }
77 77
 );
78 78
 
79 79
 $eventHandler = function() use ($app) {
80
-	try {
81
-		$job = $app->getContainer()->query(\OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob::class);
82
-		$job->run([]);
83
-		$app->getContainer()->getServer()->getJobList()->setLastRun($job);
84
-	} catch(\Exception $ex) {
85
-		$app->getContainer()->getServer()->getLogger()->logException($ex);
86
-	}
80
+    try {
81
+        $job = $app->getContainer()->query(\OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob::class);
82
+        $job->run([]);
83
+        $app->getContainer()->getServer()->getJobList()->setLastRun($job);
84
+    } catch(\Exception $ex) {
85
+        $app->getContainer()->getServer()->getLogger()->logException($ex);
86
+    }
87 87
 };
88 88
 
89 89
 $eventDispatcher->addListener('\OCP\Calendar\Resource\ForceRefreshEvent', $eventHandler);
@@ -91,18 +91,18 @@  discard block
 block discarded – undo
91 91
 
92 92
 $cm = \OC::$server->getContactsManager();
93 93
 $cm->register(function() use ($cm, $app) {
94
-	$user = \OC::$server->getUserSession()->getUser();
95
-	if (!is_null($user)) {
96
-		$app->setupContactsProvider($cm, $user->getUID());
97
-	} else {
98
-		$app->setupSystemContactsProvider($cm);
99
-	}
94
+    $user = \OC::$server->getUserSession()->getUser();
95
+    if (!is_null($user)) {
96
+        $app->setupContactsProvider($cm, $user->getUID());
97
+    } else {
98
+        $app->setupSystemContactsProvider($cm);
99
+    }
100 100
 });
101 101
 
102 102
 $calendarManager = \OC::$server->getCalendarManager();
103 103
 $calendarManager->register(function() use ($calendarManager, $app) {
104
-	$user = \OC::$server->getUserSession()->getUser();
105
-	if ($user !== null) {
106
-		$app->setupCalendarProvider($calendarManager, $user->getUID());
107
-	}
104
+    $user = \OC::$server->getUserSession()->getUser();
105
+    if ($user !== null) {
106
+        $app->setupCalendarProvider($calendarManager, $user->getUID());
107
+    }
108 108
 });
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/WebcalCaching/Plugin.php 2 patches
Indentation   +99 added lines, -99 removed lines patch added patch discarded remove patch
@@ -36,115 +36,115 @@
 block discarded – undo
36 36
 
37 37
 class Plugin extends ServerPlugin {
38 38
 
39
-	/**
40
-	 * list of regular expressions for calendar user agents,
41
-	 * that do not support subscriptions on their own
42
-	 *
43
-	 * @var string[]
44
-	 */
45
-	const ENABLE_FOR_CLIENTS = [
46
-		// TODO - fill me
47
-	];
39
+    /**
40
+     * list of regular expressions for calendar user agents,
41
+     * that do not support subscriptions on their own
42
+     *
43
+     * @var string[]
44
+     */
45
+    const ENABLE_FOR_CLIENTS = [
46
+        // TODO - fill me
47
+    ];
48 48
 
49
-	/**
50
-	 * @var bool
51
-	 */
52
-	private $enabled=false;
49
+    /**
50
+     * @var bool
51
+     */
52
+    private $enabled=false;
53 53
 
54
-	/**
55
-	 * @var Server
56
-	 */
57
-	private $server;
54
+    /**
55
+     * @var Server
56
+     */
57
+    private $server;
58 58
 
59
-	/**
60
-	 * Plugin constructor.
61
-	 *
62
-	 * @param IRequest $request
63
-	 */
64
-	public function __construct(IRequest $request) {
65
-		if ($request->isUserAgent(self::ENABLE_FOR_CLIENTS)) {
66
-			$this->enabled = true;
67
-		}
59
+    /**
60
+     * Plugin constructor.
61
+     *
62
+     * @param IRequest $request
63
+     */
64
+    public function __construct(IRequest $request) {
65
+        if ($request->isUserAgent(self::ENABLE_FOR_CLIENTS)) {
66
+            $this->enabled = true;
67
+        }
68 68
 
69
-		$magicHeader = $request->getHeader('X-NC-CALDAV-WEBCAL-CACHING');
70
-		if ($magicHeader === 'ON') {
71
-			$this->enabled = true;
72
-		}
73
-	}
69
+        $magicHeader = $request->getHeader('X-NC-CALDAV-WEBCAL-CACHING');
70
+        if ($magicHeader === 'ON') {
71
+            $this->enabled = true;
72
+        }
73
+    }
74 74
 
75
-	/**
76
-	 * This initializes the plugin.
77
-	 *
78
-	 * This function is called by Sabre\DAV\Server, after
79
-	 * addPlugin is called.
80
-	 *
81
-	 * This method should set up the required event subscriptions.
82
-	 *
83
-	 * @param Server $server
84
-	 */
85
-	public function initialize(Server $server) {
86
-		$this->server = $server;
87
-		$server->on('beforeMethod', [$this, 'beforeMethod']);
88
-	}
75
+    /**
76
+     * This initializes the plugin.
77
+     *
78
+     * This function is called by Sabre\DAV\Server, after
79
+     * addPlugin is called.
80
+     *
81
+     * This method should set up the required event subscriptions.
82
+     *
83
+     * @param Server $server
84
+     */
85
+    public function initialize(Server $server) {
86
+        $this->server = $server;
87
+        $server->on('beforeMethod', [$this, 'beforeMethod']);
88
+    }
89 89
 
90
-	/**
91
-	 * @param RequestInterface $request
92
-	 * @param ResponseInterface $response
93
-	 */
94
-	public function beforeMethod(RequestInterface $request, ResponseInterface $response) {
95
-		if (!$this->enabled) {
96
-			return;
97
-		}
90
+    /**
91
+     * @param RequestInterface $request
92
+     * @param ResponseInterface $response
93
+     */
94
+    public function beforeMethod(RequestInterface $request, ResponseInterface $response) {
95
+        if (!$this->enabled) {
96
+            return;
97
+        }
98 98
 
99
-		$path = $request->getPath();
100
-		$pathParts = explode('/', ltrim($path, '/'));
101
-		if (\count($pathParts) < 2) {
102
-			return;
103
-		}
99
+        $path = $request->getPath();
100
+        $pathParts = explode('/', ltrim($path, '/'));
101
+        if (\count($pathParts) < 2) {
102
+            return;
103
+        }
104 104
 
105
-		// $calendarHomePath will look like: calendars/username
106
-		$calendarHomePath = $pathParts[0] . '/' . $pathParts[1];
107
-		try {
108
-			$calendarHome = $this->server->tree->getNodeForPath($calendarHomePath);
109
-			if (!($calendarHome instanceof CalendarHome)) {
110
-				//how did we end up here?
111
-				return;
112
-			}
105
+        // $calendarHomePath will look like: calendars/username
106
+        $calendarHomePath = $pathParts[0] . '/' . $pathParts[1];
107
+        try {
108
+            $calendarHome = $this->server->tree->getNodeForPath($calendarHomePath);
109
+            if (!($calendarHome instanceof CalendarHome)) {
110
+                //how did we end up here?
111
+                return;
112
+            }
113 113
 
114
-			$calendarHome->enableCachedSubscriptionsForThisRequest();
115
-		} catch(NotFound $ex) {
116
-			return;
117
-		}
118
-	}
114
+            $calendarHome->enableCachedSubscriptionsForThisRequest();
115
+        } catch(NotFound $ex) {
116
+            return;
117
+        }
118
+    }
119 119
 
120
-	/**
121
-	 * @return bool
122
-	 */
123
-	public function isCachingEnabledForThisRequest():bool {
124
-		return $this->enabled;
125
-	}
120
+    /**
121
+     * @return bool
122
+     */
123
+    public function isCachingEnabledForThisRequest():bool {
124
+        return $this->enabled;
125
+    }
126 126
 
127
-	/**
128
-	 * This method should return a list of server-features.
129
-	 *
130
-	 * This is for example 'versioning' and is added to the DAV: header
131
-	 * in an OPTIONS response.
132
-	 *
133
-	 * @return string[]
134
-	 */
135
-	public function getFeatures():array {
136
-		return ['nc-calendar-webcal-cache'];
137
-	}
127
+    /**
128
+     * This method should return a list of server-features.
129
+     *
130
+     * This is for example 'versioning' and is added to the DAV: header
131
+     * in an OPTIONS response.
132
+     *
133
+     * @return string[]
134
+     */
135
+    public function getFeatures():array {
136
+        return ['nc-calendar-webcal-cache'];
137
+    }
138 138
 
139
-	/**
140
-	 * Returns a plugin name.
141
-	 *
142
-	 * Using this name other plugins will be able to access other plugins
143
-	 * using Sabre\DAV\Server::getPlugin
144
-	 *
145
-	 * @return string
146
-	 */
147
-	public function getPluginName():string {
148
-		return 'nc-calendar-webcal-cache';
149
-	}
139
+    /**
140
+     * Returns a plugin name.
141
+     *
142
+     * Using this name other plugins will be able to access other plugins
143
+     * using Sabre\DAV\Server::getPlugin
144
+     *
145
+     * @return string
146
+     */
147
+    public function getPluginName():string {
148
+        return 'nc-calendar-webcal-cache';
149
+    }
150 150
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 	/**
50 50
 	 * @var bool
51 51
 	 */
52
-	private $enabled=false;
52
+	private $enabled = false;
53 53
 
54 54
 	/**
55 55
 	 * @var Server
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 		}
104 104
 
105 105
 		// $calendarHomePath will look like: calendars/username
106
-		$calendarHomePath = $pathParts[0] . '/' . $pathParts[1];
106
+		$calendarHomePath = $pathParts[0].'/'.$pathParts[1];
107 107
 		try {
108 108
 			$calendarHome = $this->server->tree->getNodeForPath($calendarHomePath);
109 109
 			if (!($calendarHome instanceof CalendarHome)) {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 			}
113 113
 
114 114
 			$calendarHome->enableCachedSubscriptionsForThisRequest();
115
-		} catch(NotFound $ex) {
115
+		} catch (NotFound $ex) {
116 116
 			return;
117 117
 		}
118 118
 	}
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/CachedSubscription.php 2 patches
Indentation   +136 added lines, -136 removed lines patch added patch discarded remove patch
@@ -36,140 +36,140 @@
 block discarded – undo
36 36
  */
37 37
 class CachedSubscription extends \Sabre\CalDAV\Calendar {
38 38
 
39
-	/**
40
-	 * @return string
41
-	 */
42
-	public function getPrincipalURI():string {
43
-		return $this->calendarInfo['principaluri'];
44
-	}
45
-
46
-	/**
47
-	 * @return array
48
-	 */
49
-	public function getACL():array {
50
-		return [
51
-			[
52
-				'privilege' => '{DAV:}read',
53
-				'principal' => $this->getOwner(),
54
-				'protected' => true,
55
-			]
56
-		];
57
-	}
58
-
59
-	/**
60
-	 * @return array
61
-	 */
62
-	public function getChildACL():array {
63
-		return $this->getACL();
64
-	}
65
-
66
-	/**
67
-	 * @return null|string
68
-	 */
69
-	public function getOwner() {
70
-		if (isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal'])) {
71
-			return $this->calendarInfo['{http://owncloud.org/ns}owner-principal'];
72
-		}
73
-		return parent::getOwner();
74
-	}
75
-
76
-	/**
77
-	 *
78
-	 */
79
-	public function delete() {
80
-		$this->caldavBackend->deleteSubscription($this->calendarInfo['id']);
81
-	}
82
-
83
-	/**
84
-	 * @param PropPatch $propPatch
85
-	 */
86
-	public function propPatch(PropPatch $propPatch) {
87
-		$this->caldavBackend->updateSubscription($this->calendarInfo['id'], $propPatch);
88
-	}
89
-
90
-	/**
91
-	 * @param string $name
92
-	 * @return CalendarObject|\Sabre\CalDAV\ICalendarObject
93
-	 * @throws NotFound
94
-	 */
95
-	public function getChild($name) {
96
-		$obj = $this->caldavBackend->getCachedCalendarObject($this->calendarInfo['id'], $name);
97
-		if (!$obj) {
98
-			throw new NotFound('Calendar object not found');
99
-		}
100
-
101
-		$obj['acl'] = $this->getChildACL();
102
-		return new CalendarObject($this->caldavBackend, $this->calendarInfo, $obj);
103
-
104
-	}
105
-
106
-	/**
107
-	 * @return array
108
-	 */
109
-	public function getChildren():array {
110
-		$objs = $this->caldavBackend->getCachedCalendarObjects($this->calendarInfo['id']);
111
-
112
-		$children = [];
113
-		foreach($objs as $obj) {
114
-			$children[] = new CachedSubscriptionObject($this->caldavBackend, $this->calendarInfo, $obj);
115
-		}
116
-
117
-		return $children;
118
-	}
119
-
120
-	/**
121
-	 * @param array $paths
122
-	 * @return array
123
-	 */
124
-	public function getMultipleChildren(array $paths):array {
125
-		$objs = $this->caldavBackend->getMultipleCachedCalendarObjects($this->calendarInfo['id'], $paths);
126
-
127
-		$children = [];
128
-		foreach($objs as $obj) {
129
-			$children[] = new CachedSubscriptionObject($this->caldavBackend, $this->calendarInfo, $obj);
130
-		}
131
-
132
-		return $children;
133
-	}
134
-
135
-	/**
136
-	 * @param string $name
137
-	 * @param null $calendarData
138
-	 * @return null|string|void
139
-	 * @throws MethodNotAllowed
140
-	 */
141
-	public function createFile($name, $calendarData = null) {
142
-		throw new MethodNotAllowed('Creating objects in cached subscription is not allowed');
143
-	}
144
-
145
-	/**
146
-	 * @param string $name
147
-	 * @return bool
148
-	 */
149
-	public function childExists($name):bool {
150
-		$obj = $this->caldavBackend->getCachedCalendarObject($this->calendarInfo['id'], $name);
151
-		if (!$obj) {
152
-			return false;
153
-		}
154
-
155
-		return true;
156
-	}
157
-
158
-	/**
159
-	 * @param array $filters
160
-	 * @return array
161
-	 */
162
-	public function calendarQuery(array $filters):array {
163
-		return $this->caldavBackend->cachedCalendarQuery($this->calendarInfo['id'], $filters);
164
-	}
165
-
166
-	/**
167
-	 * CachedSubscriptions don't support sync-tokens for now
168
-	 * Clients will have to do a multi get etag for now
169
-	 *
170
-	 * @return null
171
-	 */
172
-	public function getSyncToken() {
173
-		return null;
174
-	}
39
+    /**
40
+     * @return string
41
+     */
42
+    public function getPrincipalURI():string {
43
+        return $this->calendarInfo['principaluri'];
44
+    }
45
+
46
+    /**
47
+     * @return array
48
+     */
49
+    public function getACL():array {
50
+        return [
51
+            [
52
+                'privilege' => '{DAV:}read',
53
+                'principal' => $this->getOwner(),
54
+                'protected' => true,
55
+            ]
56
+        ];
57
+    }
58
+
59
+    /**
60
+     * @return array
61
+     */
62
+    public function getChildACL():array {
63
+        return $this->getACL();
64
+    }
65
+
66
+    /**
67
+     * @return null|string
68
+     */
69
+    public function getOwner() {
70
+        if (isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal'])) {
71
+            return $this->calendarInfo['{http://owncloud.org/ns}owner-principal'];
72
+        }
73
+        return parent::getOwner();
74
+    }
75
+
76
+    /**
77
+     *
78
+     */
79
+    public function delete() {
80
+        $this->caldavBackend->deleteSubscription($this->calendarInfo['id']);
81
+    }
82
+
83
+    /**
84
+     * @param PropPatch $propPatch
85
+     */
86
+    public function propPatch(PropPatch $propPatch) {
87
+        $this->caldavBackend->updateSubscription($this->calendarInfo['id'], $propPatch);
88
+    }
89
+
90
+    /**
91
+     * @param string $name
92
+     * @return CalendarObject|\Sabre\CalDAV\ICalendarObject
93
+     * @throws NotFound
94
+     */
95
+    public function getChild($name) {
96
+        $obj = $this->caldavBackend->getCachedCalendarObject($this->calendarInfo['id'], $name);
97
+        if (!$obj) {
98
+            throw new NotFound('Calendar object not found');
99
+        }
100
+
101
+        $obj['acl'] = $this->getChildACL();
102
+        return new CalendarObject($this->caldavBackend, $this->calendarInfo, $obj);
103
+
104
+    }
105
+
106
+    /**
107
+     * @return array
108
+     */
109
+    public function getChildren():array {
110
+        $objs = $this->caldavBackend->getCachedCalendarObjects($this->calendarInfo['id']);
111
+
112
+        $children = [];
113
+        foreach($objs as $obj) {
114
+            $children[] = new CachedSubscriptionObject($this->caldavBackend, $this->calendarInfo, $obj);
115
+        }
116
+
117
+        return $children;
118
+    }
119
+
120
+    /**
121
+     * @param array $paths
122
+     * @return array
123
+     */
124
+    public function getMultipleChildren(array $paths):array {
125
+        $objs = $this->caldavBackend->getMultipleCachedCalendarObjects($this->calendarInfo['id'], $paths);
126
+
127
+        $children = [];
128
+        foreach($objs as $obj) {
129
+            $children[] = new CachedSubscriptionObject($this->caldavBackend, $this->calendarInfo, $obj);
130
+        }
131
+
132
+        return $children;
133
+    }
134
+
135
+    /**
136
+     * @param string $name
137
+     * @param null $calendarData
138
+     * @return null|string|void
139
+     * @throws MethodNotAllowed
140
+     */
141
+    public function createFile($name, $calendarData = null) {
142
+        throw new MethodNotAllowed('Creating objects in cached subscription is not allowed');
143
+    }
144
+
145
+    /**
146
+     * @param string $name
147
+     * @return bool
148
+     */
149
+    public function childExists($name):bool {
150
+        $obj = $this->caldavBackend->getCachedCalendarObject($this->calendarInfo['id'], $name);
151
+        if (!$obj) {
152
+            return false;
153
+        }
154
+
155
+        return true;
156
+    }
157
+
158
+    /**
159
+     * @param array $filters
160
+     * @return array
161
+     */
162
+    public function calendarQuery(array $filters):array {
163
+        return $this->caldavBackend->cachedCalendarQuery($this->calendarInfo['id'], $filters);
164
+    }
165
+
166
+    /**
167
+     * CachedSubscriptions don't support sync-tokens for now
168
+     * Clients will have to do a multi get etag for now
169
+     *
170
+     * @return null
171
+     */
172
+    public function getSyncToken() {
173
+        return null;
174
+    }
175 175
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 		$objs = $this->caldavBackend->getCachedCalendarObjects($this->calendarInfo['id']);
111 111
 
112 112
 		$children = [];
113
-		foreach($objs as $obj) {
113
+		foreach ($objs as $obj) {
114 114
 			$children[] = new CachedSubscriptionObject($this->caldavBackend, $this->calendarInfo, $obj);
115 115
 		}
116 116
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 		$objs = $this->caldavBackend->getMultipleCachedCalendarObjects($this->calendarInfo['id'], $paths);
126 126
 
127 127
 		$children = [];
128
-		foreach($objs as $obj) {
128
+		foreach ($objs as $obj) {
129 129
 			$children[] = new CachedSubscriptionObject($this->caldavBackend, $this->calendarInfo, $obj);
130 130
 		}
131 131
 
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/CalendarHome.php 2 patches
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -37,127 +37,127 @@
 block discarded – undo
37 37
 
38 38
 class CalendarHome extends \Sabre\CalDAV\CalendarHome {
39 39
 
40
-	/** @var \OCP\IL10N */
41
-	private $l10n;
42
-
43
-	/** @var \OCP\IConfig */
44
-	private $config;
45
-
46
-	/** @var bool */
47
-	private $returnCachedSubscriptions=false;
48
-
49
-	public function __construct(BackendInterface $caldavBackend, $principalInfo) {
50
-		parent::__construct($caldavBackend, $principalInfo);
51
-		$this->l10n = \OC::$server->getL10N('dav');
52
-		$this->config = \OC::$server->getConfig();
53
-	}
54
-
55
-	/**
56
-	 * @return BackendInterface
57
-	 */
58
-	public function getCalDAVBackend() {
59
-		return $this->caldavBackend;
60
-	}
61
-
62
-	/**
63
-	 * @inheritdoc
64
-	 */
65
-	function createExtendedCollection($name, MkCol $mkCol) {
66
-		$reservedNames = [BirthdayService::BIRTHDAY_CALENDAR_URI];
67
-
68
-		if (in_array($name, $reservedNames)) {
69
-			throw new MethodNotAllowed('The resource you tried to create has a reserved name');
70
-		}
71
-
72
-		parent::createExtendedCollection($name, $mkCol);
73
-	}
74
-
75
-	/**
76
-	 * @inheritdoc
77
-	 */
78
-	function getChildren() {
79
-		$calendars = $this->caldavBackend->getCalendarsForUser($this->principalInfo['uri']);
80
-		$objects = [];
81
-		foreach ($calendars as $calendar) {
82
-			$objects[] = new Calendar($this->caldavBackend, $calendar, $this->l10n, $this->config);
83
-		}
84
-
85
-		if ($this->caldavBackend instanceof SchedulingSupport) {
86
-			$objects[] = new Inbox($this->caldavBackend, $this->principalInfo['uri']);
87
-			$objects[] = new Outbox($this->principalInfo['uri']);
88
-		}
89
-
90
-		// We're adding a notifications node, if it's supported by the backend.
91
-		if ($this->caldavBackend instanceof NotificationSupport) {
92
-			$objects[] = new \Sabre\CalDAV\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']);
93
-		}
94
-
95
-		// If the backend supports subscriptions, we'll add those as well,
96
-		if ($this->caldavBackend instanceof SubscriptionSupport) {
97
-			foreach ($this->caldavBackend->getSubscriptionsForUser($this->principalInfo['uri']) as $subscription) {
98
-				if ($this->returnCachedSubscriptions) {
99
-					$objects[] = new CachedSubscription($this->caldavBackend, $subscription);
100
-				} else {
101
-					$objects[] = new Subscription($this->caldavBackend, $subscription);
102
-				}
103
-			}
104
-		}
105
-
106
-		return $objects;
107
-	}
108
-
109
-	/**
110
-	 * @inheritdoc
111
-	 */
112
-	function getChild($name) {
113
-		// Special nodes
114
-		if ($name === 'inbox' && $this->caldavBackend instanceof SchedulingSupport) {
115
-			return new Inbox($this->caldavBackend, $this->principalInfo['uri']);
116
-		}
117
-		if ($name === 'outbox' && $this->caldavBackend instanceof SchedulingSupport) {
118
-			return new Outbox($this->principalInfo['uri']);
119
-		}
120
-		if ($name === 'notifications' && $this->caldavBackend instanceof NotificationSupport) {
121
-			return new \Sabre\CalDAv\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']);
122
-		}
123
-
124
-		// Calendars
125
-		foreach ($this->caldavBackend->getCalendarsForUser($this->principalInfo['uri']) as $calendar) {
126
-			if ($calendar['uri'] === $name) {
127
-				return new Calendar($this->caldavBackend, $calendar, $this->l10n, $this->config);
128
-			}
129
-		}
130
-
131
-		if ($this->caldavBackend instanceof SubscriptionSupport) {
132
-			foreach ($this->caldavBackend->getSubscriptionsForUser($this->principalInfo['uri']) as $subscription) {
133
-				if ($subscription['uri'] === $name) {
134
-					if ($this->returnCachedSubscriptions) {
135
-						return new CachedSubscription($this->caldavBackend, $subscription);
136
-					}
137
-
138
-					return new Subscription($this->caldavBackend, $subscription);
139
-				}
140
-			}
141
-
142
-		}
143
-
144
-		throw new NotFound('Node with name \'' . $name . '\' could not be found');
145
-	}
146
-
147
-	/**
148
-	 * @param array $filters
149
-	 * @param integer|null $limit
150
-	 * @param integer|null $offset
151
-	 */
152
-	function calendarSearch(array $filters, $limit=null, $offset=null) {
153
-		$principalUri = $this->principalInfo['uri'];
154
-		return $this->caldavBackend->calendarSearch($principalUri, $filters, $limit, $offset);
155
-	}
156
-
157
-	/**
158
-	 *
159
-	 */
160
-	public function enableCachedSubscriptionsForThisRequest() {
161
-		$this->returnCachedSubscriptions = true;
162
-	}
40
+    /** @var \OCP\IL10N */
41
+    private $l10n;
42
+
43
+    /** @var \OCP\IConfig */
44
+    private $config;
45
+
46
+    /** @var bool */
47
+    private $returnCachedSubscriptions=false;
48
+
49
+    public function __construct(BackendInterface $caldavBackend, $principalInfo) {
50
+        parent::__construct($caldavBackend, $principalInfo);
51
+        $this->l10n = \OC::$server->getL10N('dav');
52
+        $this->config = \OC::$server->getConfig();
53
+    }
54
+
55
+    /**
56
+     * @return BackendInterface
57
+     */
58
+    public function getCalDAVBackend() {
59
+        return $this->caldavBackend;
60
+    }
61
+
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    function createExtendedCollection($name, MkCol $mkCol) {
66
+        $reservedNames = [BirthdayService::BIRTHDAY_CALENDAR_URI];
67
+
68
+        if (in_array($name, $reservedNames)) {
69
+            throw new MethodNotAllowed('The resource you tried to create has a reserved name');
70
+        }
71
+
72
+        parent::createExtendedCollection($name, $mkCol);
73
+    }
74
+
75
+    /**
76
+     * @inheritdoc
77
+     */
78
+    function getChildren() {
79
+        $calendars = $this->caldavBackend->getCalendarsForUser($this->principalInfo['uri']);
80
+        $objects = [];
81
+        foreach ($calendars as $calendar) {
82
+            $objects[] = new Calendar($this->caldavBackend, $calendar, $this->l10n, $this->config);
83
+        }
84
+
85
+        if ($this->caldavBackend instanceof SchedulingSupport) {
86
+            $objects[] = new Inbox($this->caldavBackend, $this->principalInfo['uri']);
87
+            $objects[] = new Outbox($this->principalInfo['uri']);
88
+        }
89
+
90
+        // We're adding a notifications node, if it's supported by the backend.
91
+        if ($this->caldavBackend instanceof NotificationSupport) {
92
+            $objects[] = new \Sabre\CalDAV\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']);
93
+        }
94
+
95
+        // If the backend supports subscriptions, we'll add those as well,
96
+        if ($this->caldavBackend instanceof SubscriptionSupport) {
97
+            foreach ($this->caldavBackend->getSubscriptionsForUser($this->principalInfo['uri']) as $subscription) {
98
+                if ($this->returnCachedSubscriptions) {
99
+                    $objects[] = new CachedSubscription($this->caldavBackend, $subscription);
100
+                } else {
101
+                    $objects[] = new Subscription($this->caldavBackend, $subscription);
102
+                }
103
+            }
104
+        }
105
+
106
+        return $objects;
107
+    }
108
+
109
+    /**
110
+     * @inheritdoc
111
+     */
112
+    function getChild($name) {
113
+        // Special nodes
114
+        if ($name === 'inbox' && $this->caldavBackend instanceof SchedulingSupport) {
115
+            return new Inbox($this->caldavBackend, $this->principalInfo['uri']);
116
+        }
117
+        if ($name === 'outbox' && $this->caldavBackend instanceof SchedulingSupport) {
118
+            return new Outbox($this->principalInfo['uri']);
119
+        }
120
+        if ($name === 'notifications' && $this->caldavBackend instanceof NotificationSupport) {
121
+            return new \Sabre\CalDAv\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']);
122
+        }
123
+
124
+        // Calendars
125
+        foreach ($this->caldavBackend->getCalendarsForUser($this->principalInfo['uri']) as $calendar) {
126
+            if ($calendar['uri'] === $name) {
127
+                return new Calendar($this->caldavBackend, $calendar, $this->l10n, $this->config);
128
+            }
129
+        }
130
+
131
+        if ($this->caldavBackend instanceof SubscriptionSupport) {
132
+            foreach ($this->caldavBackend->getSubscriptionsForUser($this->principalInfo['uri']) as $subscription) {
133
+                if ($subscription['uri'] === $name) {
134
+                    if ($this->returnCachedSubscriptions) {
135
+                        return new CachedSubscription($this->caldavBackend, $subscription);
136
+                    }
137
+
138
+                    return new Subscription($this->caldavBackend, $subscription);
139
+                }
140
+            }
141
+
142
+        }
143
+
144
+        throw new NotFound('Node with name \'' . $name . '\' could not be found');
145
+    }
146
+
147
+    /**
148
+     * @param array $filters
149
+     * @param integer|null $limit
150
+     * @param integer|null $offset
151
+     */
152
+    function calendarSearch(array $filters, $limit=null, $offset=null) {
153
+        $principalUri = $this->principalInfo['uri'];
154
+        return $this->caldavBackend->calendarSearch($principalUri, $filters, $limit, $offset);
155
+    }
156
+
157
+    /**
158
+     *
159
+     */
160
+    public function enableCachedSubscriptionsForThisRequest() {
161
+        $this->returnCachedSubscriptions = true;
162
+    }
163 163
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	private $config;
45 45
 
46 46
 	/** @var bool */
47
-	private $returnCachedSubscriptions=false;
47
+	private $returnCachedSubscriptions = false;
48 48
 
49 49
 	public function __construct(BackendInterface $caldavBackend, $principalInfo) {
50 50
 		parent::__construct($caldavBackend, $principalInfo);
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 
142 142
 		}
143 143
 
144
-		throw new NotFound('Node with name \'' . $name . '\' could not be found');
144
+		throw new NotFound('Node with name \''.$name.'\' could not be found');
145 145
 	}
146 146
 
147 147
 	/**
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 	 * @param integer|null $limit
150 150
 	 * @param integer|null $offset
151 151
 	 */
152
-	function calendarSearch(array $filters, $limit=null, $offset=null) {
152
+	function calendarSearch(array $filters, $limit = null, $offset = null) {
153 153
 		$principalUri = $this->principalInfo['uri'];
154 154
 		return $this->caldavBackend->calendarSearch($principalUri, $filters, $limit, $offset);
155 155
 	}
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/CachedSubscriptionObject.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -33,32 +33,32 @@
 block discarded – undo
33 33
  */
34 34
 class CachedSubscriptionObject extends \Sabre\CalDAV\CalendarObject {
35 35
 
36
-	/**
37
-	 * @inheritdoc
38
-	 */
39
-	public function get() {
40
-		// Pre-populating the 'calendardata' is optional, if we don't have it
41
-		// already we fetch it from the backend.
42
-		if (!isset($this->objectData['calendardata'])) {
43
-			$this->objectData = $this->caldavBackend->getCachedCalendarObject($this->calendarInfo['id'], $this->objectData['uri']);
44
-		}
36
+    /**
37
+     * @inheritdoc
38
+     */
39
+    public function get() {
40
+        // Pre-populating the 'calendardata' is optional, if we don't have it
41
+        // already we fetch it from the backend.
42
+        if (!isset($this->objectData['calendardata'])) {
43
+            $this->objectData = $this->caldavBackend->getCachedCalendarObject($this->calendarInfo['id'], $this->objectData['uri']);
44
+        }
45 45
 
46
-		return $this->objectData['calendardata'];
47
-	}
46
+        return $this->objectData['calendardata'];
47
+    }
48 48
 
49
-	/**
50
-	 * @param resource|string $calendarData
51
-	 * @return string|void
52
-	 * @throws MethodNotAllowed
53
-	 */
54
-	public function put($calendarData) {
55
-		throw new MethodNotAllowed('Creating objects in cached subscription is not allowed');
56
-	}
49
+    /**
50
+     * @param resource|string $calendarData
51
+     * @return string|void
52
+     * @throws MethodNotAllowed
53
+     */
54
+    public function put($calendarData) {
55
+        throw new MethodNotAllowed('Creating objects in cached subscription is not allowed');
56
+    }
57 57
 
58
-	/**
59
-	 * @throws MethodNotAllowed
60
-	 */
61
-	public function delete() {
62
-		throw new MethodNotAllowed('Deleting objects in cached subscription is not allowed');
63
-	}
58
+    /**
59
+     * @throws MethodNotAllowed
60
+     */
61
+    public function delete() {
62
+        throw new MethodNotAllowed('Deleting objects in cached subscription is not allowed');
63
+    }
64 64
 }
Please login to merge, or discard this patch.
apps/dav/lib/Server.php 1 patch
Indentation   +213 added lines, -213 removed lines patch added patch discarded remove patch
@@ -66,244 +66,244 @@
 block discarded – undo
66 66
 
67 67
 class Server {
68 68
 
69
-	/** @var IRequest */
70
-	private $request;
69
+    /** @var IRequest */
70
+    private $request;
71 71
 
72
-	/** @var  string */
73
-	private $baseUri;
72
+    /** @var  string */
73
+    private $baseUri;
74 74
 
75
-	/** @var Connector\Sabre\Server  */
76
-	public $server;
75
+    /** @var Connector\Sabre\Server  */
76
+    public $server;
77 77
 
78
-	public function __construct(IRequest $request, $baseUri) {
79
-		$this->request = $request;
80
-		$this->baseUri = $baseUri;
81
-		$logger = \OC::$server->getLogger();
82
-		$dispatcher = \OC::$server->getEventDispatcher();
78
+    public function __construct(IRequest $request, $baseUri) {
79
+        $this->request = $request;
80
+        $this->baseUri = $baseUri;
81
+        $logger = \OC::$server->getLogger();
82
+        $dispatcher = \OC::$server->getEventDispatcher();
83 83
 
84
-		$root = new RootCollection();
85
-		$this->server = new \OCA\DAV\Connector\Sabre\Server(new CachingTree($root));
84
+        $root = new RootCollection();
85
+        $this->server = new \OCA\DAV\Connector\Sabre\Server(new CachingTree($root));
86 86
 
87
-		// Add maintenance plugin
88
-		$this->server->addPlugin(new \OCA\DAV\Connector\Sabre\MaintenancePlugin(\OC::$server->getConfig()));
87
+        // Add maintenance plugin
88
+        $this->server->addPlugin(new \OCA\DAV\Connector\Sabre\MaintenancePlugin(\OC::$server->getConfig()));
89 89
 
90
-		// Backends
91
-		$authBackend = new Auth(
92
-			\OC::$server->getSession(),
93
-			\OC::$server->getUserSession(),
94
-			\OC::$server->getRequest(),
95
-			\OC::$server->getTwoFactorAuthManager(),
96
-			\OC::$server->getBruteForceThrottler()
97
-		);
90
+        // Backends
91
+        $authBackend = new Auth(
92
+            \OC::$server->getSession(),
93
+            \OC::$server->getUserSession(),
94
+            \OC::$server->getRequest(),
95
+            \OC::$server->getTwoFactorAuthManager(),
96
+            \OC::$server->getBruteForceThrottler()
97
+        );
98 98
 
99
-		// Set URL explicitly due to reverse-proxy situations
100
-		$this->server->httpRequest->setUrl($this->request->getRequestUri());
101
-		$this->server->setBaseUri($this->baseUri);
99
+        // Set URL explicitly due to reverse-proxy situations
100
+        $this->server->httpRequest->setUrl($this->request->getRequestUri());
101
+        $this->server->setBaseUri($this->baseUri);
102 102
 
103
-		$this->server->addPlugin(new BlockLegacyClientPlugin(\OC::$server->getConfig()));
104
-		$this->server->addPlugin(new AnonymousOptionsPlugin());
105
-		$authPlugin = new Plugin();
106
-		$authPlugin->addBackend(new PublicAuth());
107
-		$this->server->addPlugin($authPlugin);
103
+        $this->server->addPlugin(new BlockLegacyClientPlugin(\OC::$server->getConfig()));
104
+        $this->server->addPlugin(new AnonymousOptionsPlugin());
105
+        $authPlugin = new Plugin();
106
+        $authPlugin->addBackend(new PublicAuth());
107
+        $this->server->addPlugin($authPlugin);
108 108
 
109
-		// allow setup of additional auth backends
110
-		$event = new SabrePluginEvent($this->server);
111
-		$dispatcher->dispatch('OCA\DAV\Connector\Sabre::authInit', $event);
109
+        // allow setup of additional auth backends
110
+        $event = new SabrePluginEvent($this->server);
111
+        $dispatcher->dispatch('OCA\DAV\Connector\Sabre::authInit', $event);
112 112
 
113
-		$bearerAuthBackend = new BearerAuth(
114
-			\OC::$server->getUserSession(),
115
-			\OC::$server->getSession(),
116
-			\OC::$server->getRequest()
117
-		);
118
-		$authPlugin->addBackend($bearerAuthBackend);
119
-		// because we are throwing exceptions this plugin has to be the last one
120
-		$authPlugin->addBackend($authBackend);
113
+        $bearerAuthBackend = new BearerAuth(
114
+            \OC::$server->getUserSession(),
115
+            \OC::$server->getSession(),
116
+            \OC::$server->getRequest()
117
+        );
118
+        $authPlugin->addBackend($bearerAuthBackend);
119
+        // because we are throwing exceptions this plugin has to be the last one
120
+        $authPlugin->addBackend($authBackend);
121 121
 
122
-		// debugging
123
-		if(\OC::$server->getConfig()->getSystemValue('debug', false)) {
124
-			$this->server->addPlugin(new \Sabre\DAV\Browser\Plugin());
125
-		} else {
126
-			$this->server->addPlugin(new DummyGetResponsePlugin());
127
-		}
122
+        // debugging
123
+        if(\OC::$server->getConfig()->getSystemValue('debug', false)) {
124
+            $this->server->addPlugin(new \Sabre\DAV\Browser\Plugin());
125
+        } else {
126
+            $this->server->addPlugin(new DummyGetResponsePlugin());
127
+        }
128 128
 
129
-		$this->server->addPlugin(new \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin('webdav', $logger));
130
-		$this->server->addPlugin(new \OCA\DAV\Connector\Sabre\LockPlugin());
131
-		$this->server->addPlugin(new \Sabre\DAV\Sync\Plugin());
129
+        $this->server->addPlugin(new \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin('webdav', $logger));
130
+        $this->server->addPlugin(new \OCA\DAV\Connector\Sabre\LockPlugin());
131
+        $this->server->addPlugin(new \Sabre\DAV\Sync\Plugin());
132 132
 
133
-		// acl
134
-		$acl = new DavAclPlugin();
135
-		$acl->principalCollectionSet = [
136
-			'principals/users', 'principals/groups',
137
-			'principals/calendar-resources',
138
-			'principals/calendar-rooms',
139
-		];
140
-		$acl->defaultUsernamePath = 'principals/users';
141
-		$this->server->addPlugin($acl);
133
+        // acl
134
+        $acl = new DavAclPlugin();
135
+        $acl->principalCollectionSet = [
136
+            'principals/users', 'principals/groups',
137
+            'principals/calendar-resources',
138
+            'principals/calendar-rooms',
139
+        ];
140
+        $acl->defaultUsernamePath = 'principals/users';
141
+        $this->server->addPlugin($acl);
142 142
 
143
-		// calendar plugins
144
-		if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'system-calendars', 'principals'])) {
145
-			$this->server->addPlugin(new \OCA\DAV\CalDAV\Plugin());
146
-			$this->server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin());
147
-			$this->server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin());
148
-			if (\OC::$server->getConfig()->getAppValue('dav', 'sendInvitations', 'yes') === 'yes') {
149
-				$this->server->addPlugin(\OC::$server->query(\OCA\DAV\CalDAV\Schedule\IMipPlugin::class));
150
-			}
151
-			$webcalCachingPlugin = new CalDAV\WebcalCaching\Plugin($request);
152
-			$this->server->addPlugin($webcalCachingPlugin);
153
-			if (!$webcalCachingPlugin->isCachingEnabledForThisRequest()) {
154
-				$this->server->addPlugin(new \Sabre\CalDAV\Subscriptions\Plugin());
155
-			}
156
-			$this->server->addPlugin(new \Sabre\CalDAV\Notifications\Plugin());
157
-			$this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest()));
158
-			$this->server->addPlugin(new \OCA\DAV\CalDAV\Publishing\PublishPlugin(
159
-				\OC::$server->getConfig(),
160
-				\OC::$server->getURLGenerator()
161
-			));
162
-		}
143
+        // calendar plugins
144
+        if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'system-calendars', 'principals'])) {
145
+            $this->server->addPlugin(new \OCA\DAV\CalDAV\Plugin());
146
+            $this->server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin());
147
+            $this->server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin());
148
+            if (\OC::$server->getConfig()->getAppValue('dav', 'sendInvitations', 'yes') === 'yes') {
149
+                $this->server->addPlugin(\OC::$server->query(\OCA\DAV\CalDAV\Schedule\IMipPlugin::class));
150
+            }
151
+            $webcalCachingPlugin = new CalDAV\WebcalCaching\Plugin($request);
152
+            $this->server->addPlugin($webcalCachingPlugin);
153
+            if (!$webcalCachingPlugin->isCachingEnabledForThisRequest()) {
154
+                $this->server->addPlugin(new \Sabre\CalDAV\Subscriptions\Plugin());
155
+            }
156
+            $this->server->addPlugin(new \Sabre\CalDAV\Notifications\Plugin());
157
+            $this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest()));
158
+            $this->server->addPlugin(new \OCA\DAV\CalDAV\Publishing\PublishPlugin(
159
+                \OC::$server->getConfig(),
160
+                \OC::$server->getURLGenerator()
161
+            ));
162
+        }
163 163
 
164
-		// addressbook plugins
165
-		if ($this->requestIsForSubtree(['addressbooks', 'principals'])) {
166
-			$this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest()));
167
-			$this->server->addPlugin(new \OCA\DAV\CardDAV\Plugin());
168
-			$this->server->addPlugin(new VCFExportPlugin());
169
-			$this->server->addPlugin(new ImageExportPlugin(new PhotoCache(\OC::$server->getAppDataDir('dav-photocache'))));
170
-		}
164
+        // addressbook plugins
165
+        if ($this->requestIsForSubtree(['addressbooks', 'principals'])) {
166
+            $this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest()));
167
+            $this->server->addPlugin(new \OCA\DAV\CardDAV\Plugin());
168
+            $this->server->addPlugin(new VCFExportPlugin());
169
+            $this->server->addPlugin(new ImageExportPlugin(new PhotoCache(\OC::$server->getAppDataDir('dav-photocache'))));
170
+        }
171 171
 
172
-		// system tags plugins
173
-		$this->server->addPlugin(new SystemTagPlugin(
174
-			\OC::$server->getSystemTagManager(),
175
-			\OC::$server->getGroupManager(),
176
-			\OC::$server->getUserSession()
177
-		));
172
+        // system tags plugins
173
+        $this->server->addPlugin(new SystemTagPlugin(
174
+            \OC::$server->getSystemTagManager(),
175
+            \OC::$server->getGroupManager(),
176
+            \OC::$server->getUserSession()
177
+        ));
178 178
 
179
-		// comments plugin
180
-		$this->server->addPlugin(new CommentsPlugin(
181
-			\OC::$server->getCommentsManager(),
182
-			\OC::$server->getUserSession()
183
-		));
179
+        // comments plugin
180
+        $this->server->addPlugin(new CommentsPlugin(
181
+            \OC::$server->getCommentsManager(),
182
+            \OC::$server->getUserSession()
183
+        ));
184 184
 
185
-		$this->server->addPlugin(new CopyEtagHeaderPlugin());
186
-		$this->server->addPlugin(new ChunkingPlugin());
185
+        $this->server->addPlugin(new CopyEtagHeaderPlugin());
186
+        $this->server->addPlugin(new ChunkingPlugin());
187 187
 
188
-		// allow setup of additional plugins
189
-		$dispatcher->dispatch('OCA\DAV\Connector\Sabre::addPlugin', $event);
188
+        // allow setup of additional plugins
189
+        $dispatcher->dispatch('OCA\DAV\Connector\Sabre::addPlugin', $event);
190 190
 
191
-		// Some WebDAV clients do require Class 2 WebDAV support (locking), since
192
-		// we do not provide locking we emulate it using a fake locking plugin.
193
-		if($request->isUserAgent([
194
-			'/WebDAVFS/',
195
-			'/OneNote/',
196
-			'/^Microsoft-WebDAV/',// Microsoft-WebDAV-MiniRedir/6.1.7601
197
-		])) {
198
-			$this->server->addPlugin(new FakeLockerPlugin());
199
-		}
191
+        // Some WebDAV clients do require Class 2 WebDAV support (locking), since
192
+        // we do not provide locking we emulate it using a fake locking plugin.
193
+        if($request->isUserAgent([
194
+            '/WebDAVFS/',
195
+            '/OneNote/',
196
+            '/^Microsoft-WebDAV/',// Microsoft-WebDAV-MiniRedir/6.1.7601
197
+        ])) {
198
+            $this->server->addPlugin(new FakeLockerPlugin());
199
+        }
200 200
 
201
-		if (BrowserErrorPagePlugin::isBrowserRequest($request)) {
202
-			$this->server->addPlugin(new BrowserErrorPagePlugin());
203
-		}
201
+        if (BrowserErrorPagePlugin::isBrowserRequest($request)) {
202
+            $this->server->addPlugin(new BrowserErrorPagePlugin());
203
+        }
204 204
 
205
-		$lazySearchBackend = new LazySearchBackend();
206
-		$this->server->addPlugin(new SearchPlugin($lazySearchBackend));
205
+        $lazySearchBackend = new LazySearchBackend();
206
+        $this->server->addPlugin(new SearchPlugin($lazySearchBackend));
207 207
 
208
-		// wait with registering these until auth is handled and the filesystem is setup
209
-		$this->server->on('beforeMethod', function () use ($root, $lazySearchBackend) {
210
-			// custom properties plugin must be the last one
211
-			$userSession = \OC::$server->getUserSession();
212
-			$user = $userSession->getUser();
213
-			if ($user !== null) {
214
-				$view = \OC\Files\Filesystem::getView();
215
-				$this->server->addPlugin(
216
-					new FilesPlugin(
217
-						$this->server->tree,
218
-						\OC::$server->getConfig(),
219
-						$this->request,
220
-						\OC::$server->getPreviewManager(),
221
-						false,
222
-						!\OC::$server->getConfig()->getSystemValue('debug', false)
223
-					)
224
-				);
208
+        // wait with registering these until auth is handled and the filesystem is setup
209
+        $this->server->on('beforeMethod', function () use ($root, $lazySearchBackend) {
210
+            // custom properties plugin must be the last one
211
+            $userSession = \OC::$server->getUserSession();
212
+            $user = $userSession->getUser();
213
+            if ($user !== null) {
214
+                $view = \OC\Files\Filesystem::getView();
215
+                $this->server->addPlugin(
216
+                    new FilesPlugin(
217
+                        $this->server->tree,
218
+                        \OC::$server->getConfig(),
219
+                        $this->request,
220
+                        \OC::$server->getPreviewManager(),
221
+                        false,
222
+                        !\OC::$server->getConfig()->getSystemValue('debug', false)
223
+                    )
224
+                );
225 225
 
226
-				$this->server->addPlugin(
227
-					new \Sabre\DAV\PropertyStorage\Plugin(
228
-						new CustomPropertiesBackend(
229
-							$this->server->tree,
230
-							\OC::$server->getDatabaseConnection(),
231
-							\OC::$server->getUserSession()->getUser()
232
-						)
233
-					)
234
-				);
235
-				if ($view !== null) {
236
-					$this->server->addPlugin(
237
-						new QuotaPlugin($view, false));
238
-				}
239
-				$this->server->addPlugin(
240
-					new TagsPlugin(
241
-						$this->server->tree, \OC::$server->getTagManager()
242
-					)
243
-				);
244
-				// TODO: switch to LazyUserFolder
245
-				$userFolder = \OC::$server->getUserFolder();
246
-				$this->server->addPlugin(new SharesPlugin(
247
-					$this->server->tree,
248
-					$userSession,
249
-					$userFolder,
250
-					\OC::$server->getShareManager()
251
-				));
252
-				$this->server->addPlugin(new CommentPropertiesPlugin(
253
-					\OC::$server->getCommentsManager(),
254
-					$userSession
255
-				));
256
-				$this->server->addPlugin(new \OCA\DAV\CalDAV\Search\SearchPlugin());
257
-				if ($view !== null) {
258
-					$this->server->addPlugin(new FilesReportPlugin(
259
-						$this->server->tree,
260
-						$view,
261
-						\OC::$server->getSystemTagManager(),
262
-						\OC::$server->getSystemTagObjectMapper(),
263
-						\OC::$server->getTagManager(),
264
-						$userSession,
265
-						\OC::$server->getGroupManager(),
266
-						$userFolder
267
-					));
268
-					$lazySearchBackend->setBackend(new \OCA\DAV\Files\FileSearchBackend(
269
-						$this->server->tree,
270
-						$user,
271
-						\OC::$server->getRootFolder(),
272
-						\OC::$server->getShareManager(),
273
-						$view
274
-					));
275
-				}
276
-				$this->server->addPlugin(new \OCA\DAV\CalDAV\BirthdayCalendar\EnablePlugin(
277
-					\OC::$server->getConfig(),
278
-					\OC::$server->query(BirthdayService::class)
279
-				));
280
-			}
226
+                $this->server->addPlugin(
227
+                    new \Sabre\DAV\PropertyStorage\Plugin(
228
+                        new CustomPropertiesBackend(
229
+                            $this->server->tree,
230
+                            \OC::$server->getDatabaseConnection(),
231
+                            \OC::$server->getUserSession()->getUser()
232
+                        )
233
+                    )
234
+                );
235
+                if ($view !== null) {
236
+                    $this->server->addPlugin(
237
+                        new QuotaPlugin($view, false));
238
+                }
239
+                $this->server->addPlugin(
240
+                    new TagsPlugin(
241
+                        $this->server->tree, \OC::$server->getTagManager()
242
+                    )
243
+                );
244
+                // TODO: switch to LazyUserFolder
245
+                $userFolder = \OC::$server->getUserFolder();
246
+                $this->server->addPlugin(new SharesPlugin(
247
+                    $this->server->tree,
248
+                    $userSession,
249
+                    $userFolder,
250
+                    \OC::$server->getShareManager()
251
+                ));
252
+                $this->server->addPlugin(new CommentPropertiesPlugin(
253
+                    \OC::$server->getCommentsManager(),
254
+                    $userSession
255
+                ));
256
+                $this->server->addPlugin(new \OCA\DAV\CalDAV\Search\SearchPlugin());
257
+                if ($view !== null) {
258
+                    $this->server->addPlugin(new FilesReportPlugin(
259
+                        $this->server->tree,
260
+                        $view,
261
+                        \OC::$server->getSystemTagManager(),
262
+                        \OC::$server->getSystemTagObjectMapper(),
263
+                        \OC::$server->getTagManager(),
264
+                        $userSession,
265
+                        \OC::$server->getGroupManager(),
266
+                        $userFolder
267
+                    ));
268
+                    $lazySearchBackend->setBackend(new \OCA\DAV\Files\FileSearchBackend(
269
+                        $this->server->tree,
270
+                        $user,
271
+                        \OC::$server->getRootFolder(),
272
+                        \OC::$server->getShareManager(),
273
+                        $view
274
+                    ));
275
+                }
276
+                $this->server->addPlugin(new \OCA\DAV\CalDAV\BirthdayCalendar\EnablePlugin(
277
+                    \OC::$server->getConfig(),
278
+                    \OC::$server->query(BirthdayService::class)
279
+                ));
280
+            }
281 281
 
282
-			// register plugins from apps
283
-			$pluginManager = new PluginManager(
284
-				\OC::$server,
285
-				\OC::$server->getAppManager()
286
-			);
287
-			foreach ($pluginManager->getAppPlugins() as $appPlugin) {
288
-				$this->server->addPlugin($appPlugin);
289
-			}
290
-			foreach ($pluginManager->getAppCollections() as $appCollection) {
291
-				$root->addChild($appCollection);
292
-			}
293
-		});
294
-	}
282
+            // register plugins from apps
283
+            $pluginManager = new PluginManager(
284
+                \OC::$server,
285
+                \OC::$server->getAppManager()
286
+            );
287
+            foreach ($pluginManager->getAppPlugins() as $appPlugin) {
288
+                $this->server->addPlugin($appPlugin);
289
+            }
290
+            foreach ($pluginManager->getAppCollections() as $appCollection) {
291
+                $root->addChild($appCollection);
292
+            }
293
+        });
294
+    }
295 295
 
296
-	public function exec() {
297
-		$this->server->exec();
298
-	}
296
+    public function exec() {
297
+        $this->server->exec();
298
+    }
299 299
 
300
-	private function requestIsForSubtree(array $subTrees): bool {
301
-		foreach ($subTrees as $subTree) {
302
-			$subTree = trim($subTree, ' /');
303
-			if (strpos($this->server->getRequestUri(), $subTree.'/') === 0) {
304
-				return true;
305
-			}
306
-		}
307
-		return false;
308
-	}
300
+    private function requestIsForSubtree(array $subTrees): bool {
301
+        foreach ($subTrees as $subTree) {
302
+            $subTree = trim($subTree, ' /');
303
+            if (strpos($this->server->getRequestUri(), $subTree.'/') === 0) {
304
+                return true;
305
+            }
306
+        }
307
+        return false;
308
+    }
309 309
 }
Please login to merge, or discard this patch.
apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php 2 patches
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -32,52 +32,52 @@
 block discarded – undo
32 32
 
33 33
 class RefreshWebcalJobRegistrar implements IRepairStep {
34 34
 
35
-	/** @var IDBConnection */
36
-	private $connection;
35
+    /** @var IDBConnection */
36
+    private $connection;
37 37
 
38
-	/** @var IJobList */
39
-	private $jobList;
38
+    /** @var IJobList */
39
+    private $jobList;
40 40
 
41
-	/**
42
-	 * FixBirthdayCalendarComponent constructor.
43
-	 *
44
-	 * @param IDBConnection $connection
45
-	 * @param IJobList $jobList
46
-	 */
47
-	public function __construct(IDBConnection $connection, IJobList $jobList) {
48
-		$this->connection = $connection;
49
-		$this->jobList = $jobList;
50
-	}
41
+    /**
42
+     * FixBirthdayCalendarComponent constructor.
43
+     *
44
+     * @param IDBConnection $connection
45
+     * @param IJobList $jobList
46
+     */
47
+    public function __construct(IDBConnection $connection, IJobList $jobList) {
48
+        $this->connection = $connection;
49
+        $this->jobList = $jobList;
50
+    }
51 51
 
52
-	/**
53
-	 * @inheritdoc
54
-	 */
55
-	public function getName() {
56
-		return 'Registering background jobs to update cache for webcal calendars';
57
-	}
52
+    /**
53
+     * @inheritdoc
54
+     */
55
+    public function getName() {
56
+        return 'Registering background jobs to update cache for webcal calendars';
57
+    }
58 58
 
59
-	/**
60
-	 * @inheritdoc
61
-	 */
62
-	public function run(IOutput $output) {
63
-		$query = $this->connection->getQueryBuilder();
64
-		$query->select(['principaluri', 'uri'])
65
-			->from('calendarsubscriptions');
66
-		$stmt = $query->execute();
59
+    /**
60
+     * @inheritdoc
61
+     */
62
+    public function run(IOutput $output) {
63
+        $query = $this->connection->getQueryBuilder();
64
+        $query->select(['principaluri', 'uri'])
65
+            ->from('calendarsubscriptions');
66
+        $stmt = $query->execute();
67 67
 
68
-		$count = 0;
69
-		while($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
70
-			$args = [
71
-				'principaluri' => $row['principaluri'],
72
-				'uri' => $row['uri'],
73
-			];
68
+        $count = 0;
69
+        while($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
70
+            $args = [
71
+                'principaluri' => $row['principaluri'],
72
+                'uri' => $row['uri'],
73
+            ];
74 74
 
75
-			if (!$this->jobList->has(RefreshWebcalJob::class, $args)) {
76
-				$this->jobList->add(RefreshWebcalJob::class, $args);
77
-				$count++;
78
-			}
79
-		}
75
+            if (!$this->jobList->has(RefreshWebcalJob::class, $args)) {
76
+                $this->jobList->add(RefreshWebcalJob::class, $args);
77
+                $count++;
78
+            }
79
+        }
80 80
 
81
-		$output->info("Added $count background jobs to update webcal calendars");
82
-	}
81
+        $output->info("Added $count background jobs to update webcal calendars");
82
+    }
83 83
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 		$stmt = $query->execute();
67 67
 
68 68
 		$count = 0;
69
-		while($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
69
+		while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
70 70
 			$args = [
71 71
 				'principaluri' => $row['principaluri'],
72 72
 				'uri' => $row['uri'],
Please login to merge, or discard this patch.