]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/GServer.php
spelling: resource
[friendica.git] / src / Model / GServer.php
index d9df8e205f381cbea6dad60954cb31e29486a862..11d3227e8ad06ecbfb77521373d2c120e6ac45af 100644 (file)
@@ -327,7 +327,7 @@ class GServer
                        return DateTimeFormat::utc('now +1 month');
                }
 
-               // The system hadn't been successul contacted for more than a month, so try again in three months
+               // The system hadn't been successful contacted for more than a month, so try again in three months
                return DateTimeFormat::utc('now +3 month');
        }
 
@@ -675,7 +675,7 @@ class GServer
                        }
 
                        // All following checks are done for systems that always have got a "host-meta" endpoint.
-                       // With this check we don't have to waste time and ressources for dead systems.
+                       // With this check we don't have to waste time and resources for dead systems.
                        // Also this hopefully prevents us from receiving abuse messages.
                        if (($serverdata['network'] == Protocol::PHANTOM) || in_array($serverdata['detection-method'], self::DETECT_UNSPECIFIC)) {
                                $validHostMeta = self::validHostMeta($url);