mirror of
https://github.com/friendica/friendica
synced 2024-12-23 22:40:17 +00:00
23 lines
316 B
PHP
23 lines
316 B
PHP
<?php
|
|
/**
|
|
* @file mod/nogroup.php
|
|
*/
|
|
use Friendica\App;
|
|
use Friendica\Core\L10n;
|
|
|
|
function nogroup_init(App $a)
|
|
{
|
|
if (! local_user()) {
|
|
return;
|
|
}
|
|
}
|
|
|
|
function nogroup_content(App $a)
|
|
{
|
|
if (! local_user()) {
|
|
notice(L10n::t('Permission denied.') . EOL);
|
|
return '';
|
|
}
|
|
|
|
$a->internalRedirect('group/none');
|
|
}
|