]> git.mxchange.org Git - friendica.git/commitdiff
Fix codestyle
authorMichael <heluecht@pirati.ca>
Sat, 15 Feb 2025 20:13:21 +0000 (20:13 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 15 Feb 2025 20:13:21 +0000 (20:13 +0000)
src/Model/GServer.php

index 891ac08fa9ca4d40f7081823bae69b3ce9750842..7029adbb532fc8ebfba3a225527c2d606b2acecd 100644 (file)
@@ -595,10 +595,10 @@ class GServer
                        (((parse_url($url, PHP_URL_HOST) != parse_url($valid_url, PHP_URL_HOST)) || (parse_url($url, PHP_URL_PATH) != parse_url($valid_url, PHP_URL_PATH))) && empty(parse_url($valid_url, PHP_URL_PATH)))) {
                                DI::logger()->debug('Found redirect. Mark old entry as failure', ['old' => $url, 'new' => $valid_url]);
                                self::setFailureByUrl($url);
-                               $target_id = self::getID($valid_url, true); 
+                               $target_id = self::getID($valid_url, true);
                                if (!$target_id && !Network::isUrlBlocked($valid_url)) {
                                        self::detect($valid_url, $network, $only_nodeinfo);
-                                       $target_id = self::getID($valid_url, true); 
+                                       $target_id = self::getID($valid_url, true);
                                }
                                if ($target_id) {
                                        self::update(['redirect-gsid' => $target_id], ['nurl' => Strings::normaliseLink($url)]);