]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/GlobalCommunitySilence.php
Merge pull request #5599 from annando/postupdate
[friendica.git] / src / Core / Console / GlobalCommunitySilence.php
index d583a747a7b911a11358636129f95906cb38164d..2b25d84433cf0fbe2f51ecc8772a13bc2f571a8b 100644 (file)
@@ -81,7 +81,7 @@ HELP;
 
                $nurl = normalise_link($net['url']);
                $contact = DBA::selectFirst("contact", ["id"], ["nurl" => $nurl, "uid" => 0]);
-               if (DBA::is_result($contact)) {
+               if (DBA::isResult($contact)) {
                        DBA::update("contact", ["hidden" => true], ["id" => $contact["id"]]);
                        $this->out('NOTICE: The account should be silenced from the global community page');
                } else {