Skip to content

Commit

Permalink
[catalyst#16] Fix Unexpected Moodle Internal errors/warnings in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
keevan committed Jan 19, 2022
1 parent 3a3b643 commit 4fc295c
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions classes/check/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@

namespace logstore_standardqueued\check;

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

use Exception;

use core\check\check,
Expand Down
2 changes: 0 additions & 2 deletions classes/log/store.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

namespace logstore_standardqueued\log;

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

use Exception;

use tool_log\log\manager;
Expand Down
2 changes: 0 additions & 2 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

namespace logstore_standardqueued\privacy;

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

use logstore_standard\privacy\provider as base_provider;

/**
Expand Down
2 changes: 0 additions & 2 deletions classes/queue/queue_interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

namespace logstore_standardqueued\queue;

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

interface queue_interface {
/**
* A line describing the queue and its config.
Expand Down
2 changes: 0 additions & 2 deletions classes/task/asynchronous_pull_task.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

namespace logstore_standardqueued\task;

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

use logstore_standardqueued\log\store;

use core\task\adhoc_task;
Expand Down
2 changes: 0 additions & 2 deletions classes/task/pull_task.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

namespace logstore_standardqueued\task;

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

use logstore_standardqueued\log\store;

use core\task\scheduled_task;
Expand Down
2 changes: 0 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

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

/**
* Add queue related status checks
*
Expand Down

0 comments on commit 4fc295c

Please sign in to comment.