Issues (2113)

public/plugin/UserRemoteService/iframe.php (1 issue)

Labels
Severity
1
<?php
2
/* For licensing terms, see /license.txt */
3
4
require_once __DIR__.'/config.php';
5
6
if (!api_user_is_login()) {
0 ignored issues
show
The function api_user_is_login was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

6
if (!/** @scrutinizer ignore-call */ api_user_is_login()) {
Loading history...
7
    api_not_allowed(true);
8
}
9
10
$plugin = UserRemoteServicePlugin::create();
11
12
Display::display_header();
13
14
echo $plugin->getIFrame();
15
16
Display::display_footer();
17