aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/util.php
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-03-25 22:39:08 +0100
committerGitHub <noreply@github.com>2020-03-25 22:39:08 +0100
commite1a11b9e777986a52d60c8c02faa37b511e48abf (patch)
tree0d1917534ef451fa259eb89ddabdf9449e83d7c3 /lib/private/legacy/util.php
parent3cf321fdfc4235a87015a9af2f59c63220016c65 (diff)
parent23eb0462e56d72ed24b7b02483069844bd2919b8 (diff)
downloadnextcloud-server-e1a11b9e777986a52d60c8c02faa37b511e48abf.tar.gz
nextcloud-server-e1a11b9e777986a52d60c8c02faa37b511e48abf.zip
Merge pull request #20169 from nextcloud/techdebt/lower-case-true-false-null
Use lowercase true, false and null constants
Diffstat (limited to 'lib/private/legacy/util.php')
-rw-r--r--lib/private/legacy/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index bf0a1b9bb20..63edf34e029 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -795,7 +795,7 @@ class OC_Util {
// is_writable doesn't work for NFS mounts, so try to write a file and check if it exists.
$testFile = sprintf('%s/%s.tmp', $CONFIG_DATADIRECTORY, uniqid('data_dir_writability_test_'));
$handle = fopen($testFile, 'w');
- if (!$handle || fwrite($handle, 'Test write operation') === FALSE) {
+ if (!$handle || fwrite($handle, 'Test write operation') === false) {
$permissionsHint = $l->t('Permissions can usually be fixed by giving the webserver write access to the root directory. See %s.',
[$urlGenerator->linkToDocs('admin-dir_permissions')]);
$errors[] = [