Skip to content

Commit

Permalink
Minor: Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Oct 28, 2024
1 parent b564fba commit 68780b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugin/exercisemonitoring/cron/cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
require_once __DIR__.'/../../../main/inc/global.inc.php';

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

die;
exit;

$plugin = ExerciseMonitoringPlugin::create();
$em = Database::getManager();
Expand Down
2 changes: 1 addition & 1 deletion plugin/exercisemonitoring/src/ExerciseMonitoringPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function generateDetailLink(int $exeId, int $userId): string
$monitoringDetailUrl = api_get_path(WEB_PLUGIN_PATH).'exercisemonitoring/pages/detail.php?'.api_get_cidreq()
.'&'.http_build_query(['id' => $exeId]);

$url = Display::url(
$url = Display::url(
$webcamIcon,
$monitoringDetailUrl,
[
Expand Down

0 comments on commit 68780b9

Please sign in to comment.