friendica/mod/nogroup.php

24 wiersze
316 B
PHP
Czysty Zwykły widok Historia

<?php
/**
* @file mod/nogroup.php
*/
use Friendica\App;
2018-01-21 18:33:59 +00:00
use Friendica\Core\L10n;
function nogroup_init(App $a)
{
if (! local_user()) {
return;
}
}
function nogroup_content(App $a)
{
if (! local_user()) {
2018-01-21 18:33:59 +00:00
notice(L10n::t('Permission denied.') . EOL);
return '';
}
$a->internalRedirect('group/none');
}