]> git.mxchange.org Git - friendica.git/blob - mod/nogroup.php
Merge pull request #6977 from annando/fix-reshare
[friendica.git] / mod / nogroup.php
1 <?php
2 /**
3  * @file mod/nogroup.php
4  */
5 use Friendica\App;
6 use Friendica\Core\L10n;
7
8 function nogroup_init(App $a)
9 {
10         if (! local_user()) {
11                 return;
12         }
13 }
14
15 function nogroup_content(App $a)
16 {
17         if (! local_user()) {
18                 notice(L10n::t('Permission denied.') . EOL);
19                 return '';
20         }
21
22         $a->internalRedirect('group/none');
23 }