Friendica Communications Platform
(please note that this is a clone of the repository at github, issues are handled there)
https://friendi.ca
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
316 B
23 lines
316 B
<?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'); |
|
}
|
|
|