Skip to content

Commit

Permalink
fixup! fix(caldav): automatically delete outdated scheduling objects
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Jun 3, 2024
1 parent e94c930 commit 6f20a6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions apps/settings/lib/SetupChecks/SchedulingTableSize.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ public function run(): bool {
$count = $query->fetchOne();
$query->closeCursor();

if ($count > 500000) {
return false;
}
return true;
return $count <= 500000;
}
}
1 change: 1 addition & 0 deletions core/js/setupchecks.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@
OC.SetupChecks.addGenericSetupCheck(data, 'OCA\\Settings\\SetupChecks\\SupportedDatabase', messages)
OC.SetupChecks.addGenericSetupCheck(data, 'OCA\\Settings\\SetupChecks\\LdapInvalidUuids', messages)
OC.SetupChecks.addGenericSetupCheck(data, 'OCA\\Settings\\SetupChecks\\NeedsSystemAddressBookSync', messages)
OC.SetupChecks.addGenericSetupCheck(data, 'OCA\\Settings\\SetupChecks\\SchedulingTableSize', messages)
} else {
messages.push({
msg: t('core', 'Error occurred while checking server setup'),
Expand Down

0 comments on commit 6f20a6e

Please sign in to comment.