Changed log level

This commit is contained in:
Michael 2022-05-10 01:14:27 +00:00
parent 548bf469ca
commit 22da88b43f

View file

@ -129,13 +129,13 @@ class Avatar
}
} elseif (fileperms($dirpath) & 0777 != $dir_perm) {
if (!chmod($dirpath, $dir_perm)) {
Logger::warning('Directory permissions could not be changed', ['directory' => $dirpath]);
Logger::info('Directory permissions could not be changed', ['directory' => $dirpath]);
}
}
if (filegroup($dirpath) != $group) {
if (!chgrp($dirpath, $group)) {
Logger::warning('Directory group could not be changed', ['directory' => $dirpath]);
Logger::info('Directory group could not be changed', ['directory' => $dirpath]);
}
}
}