Skip to content

Commit 68780b9

Browse files
committed
Minor: Format code
1 parent b564fba commit 68780b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugin/exercisemonitoring/cron/cleanup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
require_once __DIR__.'/../../../main/inc/global.inc.php';
1010

1111
if ('cli' !== PHP_SAPI) {
12-
die('For security reasons, this script can only be launched from cron or from the command line');
12+
exit('For security reasons, this script can only be launched from cron or from the command line');
1313
}
1414

15-
die;
15+
exit;
1616

1717
$plugin = ExerciseMonitoringPlugin::create();
1818
$em = Database::getManager();

plugin/exercisemonitoring/src/ExerciseMonitoringPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function generateDetailLink(int $exeId, int $userId): string
128128
$monitoringDetailUrl = api_get_path(WEB_PLUGIN_PATH).'exercisemonitoring/pages/detail.php?'.api_get_cidreq()
129129
.'&'.http_build_query(['id' => $exeId]);
130130

131-
$url = Display::url(
131+
$url = Display::url(
132132
$webcamIcon,
133133
$monitoringDetailUrl,
134134
[

0 commit comments

Comments
 (0)