Skip to content

Commit b2f64a0

Browse files
committed
fixup! feat: add default reminder setting caldav
1 parent 216cf8d commit b2f64a0

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

apps/dav/lib/CalDAV/CalDavBackend.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
152152
'{http://apple.com/ns/ical/}calendar-color' => ['calendarcolor', 'string'],
153153
'{' . \OCA\DAV\DAV\Sharing\Plugin::NS_NEXTCLOUD . '}deleted-at' => ['deleted_at', 'int'],
154154
'{' . \OCA\DAV\DAV\Sharing\Plugin::NS_NEXTCLOUD . '}default-alarm' => ['default_alarm', 'string'],
155-
'{' . \OCA\DAV\DAV\Sharing\Plugin::NS_OWNCLOUD . '}default-alarm' => ['default_alarm', 'string'],
156155
];
157156

158157
/**

apps/dav/lib/DAV/CustomPropertiesBackend.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ class CustomPropertiesBackend implements BackendInterface {
8484
private const ALLOWED_NC_PROPERTIES = [
8585
'{http://owncloud.org/ns}calendar-enabled',
8686
'{http://owncloud.org/ns}enabled',
87-
'{http://owncloud.org/ns}default-alarm',
8887
];
8988

9089
/**

apps/dav/lib/Migration/Version1037Date20260302000000.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
2626
$calendarsTable = $schema->getTable('calendars');
2727

2828
if (!$calendarsTable->hasColumn('default_alarm')) {
29-
$calendarsTable->addColumn('default_alarm', Types::STRING, [
29+
$calendarsTable->addColumn('default_alarm', Types::INTEGER, [
3030
'notnull' => false,
3131
'length' => 10,
3232
'default' => null,

0 commit comments

Comments
 (0)