X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FGlobalCommunityBlock.php;h=6eb17034897097f33dd375179737c82e3175362d;hb=9581b05603e6ee4e250738c159ed2e67b3fb2eeb;hp=77be530da9730cc98018b48469d4b24074f7567b;hpb=0a4119adaf6294bf43d135a0f435c1dd677c50e0;p=friendica.git diff --git a/src/Console/GlobalCommunityBlock.php b/src/Console/GlobalCommunityBlock.php index 77be530da9..6eb1703489 100644 --- a/src/Console/GlobalCommunityBlock.php +++ b/src/Console/GlobalCommunityBlock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -11,11 +30,6 @@ use Friendica\Model\Contact; * * With this tool, you can block an account in such a way, that no postings * or comments this account writes are accepted to the node. - * - * License: AGPLv3 or later, same as Friendica - * - * @author Tobias Diekershoff - * @author Hypolite Petovan */ class GlobalCommunityBlock extends \Asika\SimpleConsole\Console { @@ -26,7 +40,7 @@ class GlobalCommunityBlock extends \Asika\SimpleConsole\Console */ private $appMode; /** - * @var L10n\L10n + * @var \Friendica\Core\L10n */ private $l10n; @@ -56,7 +70,7 @@ HELP; $this->l10n = $l10n; } - protected function doExecute() + protected function doExecute(): int { if ($this->getOption('v')) { $this->out('Class: ' . __CLASS__);