X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole%2FGlobalCommunityBlock.php;h=d99d99ceeaf86208919f04cd5d372fa39873d24b;hb=061d959e7f1387432c38d580429ed9e612954ed6;hp=2a19a9e7f3f0343a3b79da58ec189e65b0dbb0c3;hpb=571e37f4d4bde114d4b300871c61ac828ff160fe;p=friendica.git diff --git a/src/Core/Console/GlobalCommunityBlock.php b/src/Core/Console/GlobalCommunityBlock.php index 2a19a9e7f3..d99d99ceea 100644 --- a/src/Core/Console/GlobalCommunityBlock.php +++ b/src/Core/Console/GlobalCommunityBlock.php @@ -39,7 +39,7 @@ HELP; protected function doExecute() { - $a = get_app(); + $a = \get_app(); if ($this->getOption('v')) { $this->out('Class: ' . __CLASS__); @@ -62,7 +62,7 @@ HELP; $contact_id = Contact::getIdForURL($this->getArgument(0)); if (!$contact_id) { - throw new \RuntimeException(L10n::t('Could not find any contact entry for this URL (%s)', $nurl)); + throw new \RuntimeException(L10n::t('Could not find any contact entry for this URL (%s)', $this->getArgument(0))); } if(Contact::block($contact_id)) { $this->out(L10n::t('The contact has been blocked from the node'));