Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-25 23:53:04 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-25 23:53:04 +0300
commit23eb0462e56d72ed24b7b02483069844bd2919b8 (patch)
tree0d1917534ef451fa259eb89ddabdf9449e83d7c3 /lib/public/Util.php
parent3cf321fdfc4235a87015a9af2f59c63220016c65 (diff)
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.php2
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;