]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Removing MySQL workaround
[friendica.git] / src / Protocol / Diaspora.php
index f4dc997e6276266300d52621c13ff0a77df089f2..8ab89d950f1cffc3d39225c29807e0810bb49635 100644 (file)
@@ -2211,7 +2211,7 @@ class Diaspora
                                return true;
                        } else {
                                Logger::log("Author ".$author." doesn't want to follow us anymore.", Logger::DEBUG);
-                               Contact::removeFollower($importer, $contact);
+                               Contact::removeFollower($contact);
                                return true;
                        }
                }
@@ -3614,7 +3614,7 @@ class Diaspora
         * @return array|false The data for a comment
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
-       public static function constructComment(array $item, array $owner)
+       private static function constructComment(array $item, array $owner)
        {
                $cachekey = "diaspora:constructComment:".$item['guid'];