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/public/Util.php | |
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/public/Util.php')
-rw-r--r-- | lib/public/Util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php index 544808f5ece..74a4b18f5d4 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -260,7 +260,7 @@ class Util { $host_name = \OC::$server->getRequest()->getServerHost(); // strip away port number (if existing) $colon_pos = strpos($host_name, ':'); - if ($colon_pos != FALSE) { + if ($colon_pos != false) { $host_name = substr($host_name, 0, $colon_pos); } return $host_name; |