diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-03-25 21:53:04 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-03-25 21:53:04 +0100 |
commit | 23eb0462e56d72ed24b7b02483069844bd2919b8 (patch) | |
tree | 0d1917534ef451fa259eb89ddabdf9449e83d7c3 /lib/private/legacy | |
parent | 3cf321fdfc4235a87015a9af2f59c63220016c65 (diff) | |
download | nextcloud-server-23eb0462e56d72ed24b7b02483069844bd2919b8.tar.gz nextcloud-server-23eb0462e56d72ed24b7b02483069844bd2919b8.zip |
Use lowercase true, false and null constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/util.php | 2 |
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[] = [ |