Move mod/nogroup to src/Module/Group
This commit is contained in:
parent
900fe158f5
commit
1ef4b9c7e4
3 changed files with 4 additions and 24 deletions
|
@ -1,23 +0,0 @@
|
|||
<?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');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue