]> git.mxchange.org Git - friendica.git/blob - mod/nogroup.php
Move Composer autoload require out of boot.php
[friendica.git] / mod / nogroup.php
1 <?php
2 /**
3  * @file mod/nogroup.php
4  */
5 use Friendica\App;
6 use Friendica\Content\ContactSelector;
7 use Friendica\Core\L10n;
8 use Friendica\Database\DBA;
9 use Friendica\Model\Contact;
10 use Friendica\Model\Group;
11 use Friendica\Core\System;
12
13 function nogroup_init(App $a)
14 {
15         if (! local_user()) {
16                 return;
17         }
18 }
19
20 function nogroup_content(App $a)
21 {
22         if (! local_user()) {
23                 notice(L10n::t('Permission denied.') . EOL);
24                 return '';
25         }
26
27         $a->internalRedirect('group/none');
28 }