Skip to content

Commit

Permalink
Cleanup: Change @codingStandardsIgnore tags to phpcs:disable
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Aug 20, 2024
1 parent e0abd5d commit 07b4a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sessionkeepalive_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
*/

define('AJAX_SCRIPT', true);
// @codingStandardsIgnoreStart

// phpcs:disable moodle.Files.RequireLogin.Missing
// Let codechecker ignore the next line because otherwise it would complain about a missing login check
// after requiring config.php which is really not needed.
require(__DIR__ . '/../../config.php');
// @codingStandardsIgnoreEnd

// Require the session key - want to make sure that this isn't called
// maliciously to keep a session alive longer than intended.
Expand Down

0 comments on commit 07b4a57

Please sign in to comment.