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:
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/lib/DbHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php
index b7d53d378d0..6adad5b69d1 100644
--- a/apps/federation/lib/DbHandler.php
+++ b/apps/federation/lib/DbHandler.php
@@ -302,7 +302,7 @@ class DbHandler {
if (strpos($url, 'https://') === 0) {
$normalized = substr($url, strlen('https://'));
- } else if (strpos($url, 'http://') === 0) {
+ } elseif (strpos($url, 'http://') === 0) {
$normalized = substr($url, strlen('http://'));
}