Skip to content

Commit

Permalink
rm obsolete include.
Browse files Browse the repository at this point in the history
this came up while adding test coverage. see MDL-76583.
without the include, we can also get rid of the direct script access check.
  • Loading branch information
stopfstedt committed Nov 26, 2024
1 parent cb16b45 commit 634d712
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions classes/external/monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

namespace tool_externaltaskmonitor\external;

defined('MOODLE_INTERNAL') || die();

require_once($CFG->dirroot . '/lib/externallib.php');

use context_system;
use core\task\manager;
use dml_exception;
Expand Down

0 comments on commit 634d712

Please sign in to comment.