summaryrefslogtreecommitdiffstats
path: root/lib/private/Profile
diff options
context:
space:
mode:
authorluz paz <luzpaz@github.com>2022-07-27 08:51:42 -0400
committerluz paz <luzpaz@pm.me>2022-07-27 08:52:17 -0400
commit368f83095d443c28b0d90d2308549349cc28dd05 (patch)
tree34dad42801d67a12fb183892e81f7eea3b641950 /lib/private/Profile
parent3e9c52ae5f640e40f26beec76c26272cf7fb1387 (diff)
downloadnextcloud-server-368f83095d443c28b0d90d2308549349cc28dd05.tar.gz
nextcloud-server-368f83095d443c28b0d90d2308549349cc28dd05.zip
Fix typos in lib/private subdirectory
Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
Diffstat (limited to 'lib/private/Profile')
-rw-r--r--lib/private/Profile/ProfileManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Profile/ProfileManager.php b/lib/private/Profile/ProfileManager.php
index edb51458c66..f2eacd1ef25 100644
--- a/lib/private/Profile/ProfileManager.php
+++ b/lib/private/Profile/ProfileManager.php
@@ -348,13 +348,13 @@ class ProfileManager {
* Return the default profile config
*/
private function getDefaultProfileConfig(IUser $targetUser, ?IUser $visitingUser): array {
- // Contruct the default config for actions
+ // Construct the default config for actions
$actionsConfig = [];
foreach ($this->getActions($targetUser, $visitingUser) as $action) {
$actionsConfig[$action->getId()] = ['visibility' => ProfileConfig::DEFAULT_VISIBILITY];
}
- // Contruct the default config for account properties
+ // Construct the default config for account properties
$propertiesConfig = [];
foreach (ProfileConfig::DEFAULT_PROPERTY_VISIBILITY as $property => $visibility) {
$propertiesConfig[$property] = ['visibility' => $visibility];