mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #60316 from Justinzobel/work/justinzobel/spellingfixes
Spelling fixes
This commit is contained in:
commit
da7c4ef3ce
4 changed files with 5 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue