mirror of
https://github.com/friendica/friendica
synced 2024-11-20 10:23:41 +00:00
Make feedtest module for logged users only
This commit is contained in:
parent
17e0d6b6c1
commit
fa620022d5
1 changed files with 5 additions and 1 deletions
|
@ -16,7 +16,11 @@ require_once 'include/text.php';
|
||||||
|
|
||||||
function feedtest_content(App $a)
|
function feedtest_content(App $a)
|
||||||
{
|
{
|
||||||
//$a->page['template'] = "wide-2-columns";
|
if (!local_user()) {
|
||||||
|
info(L10n::t('You must be logged in to use this module'));
|
||||||
|
return;
|
||||||
|
};
|
||||||
|
|
||||||
$result = [];
|
$result = [];
|
||||||
if (!empty($_REQUEST['url'])) {
|
if (!empty($_REQUEST['url'])) {
|
||||||
$url = $_REQUEST['url'];
|
$url = $_REQUEST['url'];
|
||||||
|
|
Loading…
Reference in a new issue