From 4ff6af18162db6ece344dbd46d7aabdaa5440188 Mon Sep 17 00:00:00 2001 From: Justin Zobel Date: Tue, 12 May 2026 12:23:49 +0930 Subject: [PATCH] fix: "than" vs "then" typos --- apps/dav/lib/Migration/DisableSystemAddressBook.php | 4 ++-- apps/files_external/lib/Lib/Storage/FtpConnection.php | 2 +- apps/files_trashbin/src/files_views/columns.spec.ts | 2 +- lib/private/Lock/DBLockingProvider.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/dav/lib/Migration/DisableSystemAddressBook.php b/apps/dav/lib/Migration/DisableSystemAddressBook.php index 57743bf4934d6..df1c1c0eedaa0 100644 --- a/apps/dav/lib/Migration/DisableSystemAddressBook.php +++ b/apps/dav/lib/Migration/DisableSystemAddressBook.php @@ -50,11 +50,11 @@ public function run(IOutput $output) { // We use count seen because getting a user count from the backend can be very slow $limit = $this->appConfig->getAppValueInt('system_addressbook_limit', 5000); if ($this->userManager->countSeenUsers() <= $limit) { - $output->info("Skipping repair step system address book has less then the threshold $limit of contacts no need to disable"); + $output->info("Skipping repair step system address book has less than the threshold $limit of contacts no need to disable"); return; } $this->appConfig->setAppValueBool(ConfigLexicon::SYSTEM_ADDRESSBOOK_EXPOSED, false); - $output->warning("System address book disabled because it has more then the threshold of $limit contacts this can be re-enabled later"); + $output->warning("System address book disabled because it has more than the threshold of $limit contacts this can be re-enabled later"); // Notify all admin users about the system address book being disabled foreach ($this->groupManager->get('admin')->getUsers() as $user) { $notification = $this->notificationManager->createNotification(); diff --git a/apps/files_external/lib/Lib/Storage/FtpConnection.php b/apps/files_external/lib/Lib/Storage/FtpConnection.php index a064bf9b100a3..3a7ca7528040b 100644 --- a/apps/files_external/lib/Lib/Storage/FtpConnection.php +++ b/apps/files_external/lib/Lib/Storage/FtpConnection.php @@ -153,7 +153,7 @@ private function parseUnixItem(string $item, string $directory): array { $tomorrow = (new \DateTime())->add(new \DateInterval('P1D')); // since the provided date doesn't include the year, we either set it to the correct year - // or when the date would otherwise be in the future (by more then 1 day to account for timezone errors) + // or when the date would otherwise be in the future (by more than 1 day to account for timezone errors) // we use last year if ($parsedDate > $tomorrow) { $parsedDate = $parsedDate->sub(new \DateInterval('P1Y')); diff --git a/apps/files_trashbin/src/files_views/columns.spec.ts b/apps/files_trashbin/src/files_views/columns.spec.ts index 413b493e8a56e..fbed70761c653 100644 --- a/apps/files_trashbin/src/files_views/columns.spec.ts +++ b/apps/files_trashbin/src/files_views/columns.spec.ts @@ -312,7 +312,7 @@ describe('files_trashbin: file list columns', () => { }) expect(deletedBy.sort).toBeTypeOf('function') - // aaa is less then "Unknown" + // aaa is less than "Unknown" expect(deletedBy.sort!(nodeA, nodeC)).toBeLessThan(0) // zzz is greater than "Unknown" expect(deletedBy.sort!(nodeB, nodeC)).toBeGreaterThan(0) diff --git a/lib/private/Lock/DBLockingProvider.php b/lib/private/Lock/DBLockingProvider.php index ec5d84a5384fb..0ddc7ded15cab 100644 --- a/lib/private/Lock/DBLockingProvider.php +++ b/lib/private/Lock/DBLockingProvider.php @@ -182,7 +182,7 @@ public function changeLock(string $path, int $targetType): void { $qb->expr()->eq('lock', $qb->createNamedParameter(-1, IQueryBuilder::PARAM_INT)) ))->executeStatement(); } else { - // since we only keep one shared lock in the db we need to check if we have more then one shared lock locally manually + // since we only keep one shared lock in the db we need to check if we have more than one shared lock locally manually if (isset($this->acquiredLocks['shared'][$path]) && $this->acquiredLocks['shared'][$path] > 1) { throw new LockedException($path); }