protected function doExecute()
{
- $a = get_app();
+ $a = \get_app();
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);
$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'));