Merge pull request #60316 from Justinzobel/work/justinzobel/spellingfixes

Spelling fixes
This commit is contained in:
Louis 2026-05-27 18:47:51 +02:00 committed by GitHub
commit da7c4ef3ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -50,11 +50,11 @@ class DisableSystemAddressBook implements IRepairStep {
// 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();

View file

@ -153,7 +153,7 @@ class FtpConnection {
$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'));

View file

@ -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)

View file

@ -182,7 +182,7 @@ class DBLockingProvider extends AbstractLockingProvider {
$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);
}