Skip to content

Commit c40c919

Browse files
committed
Remove unnecessary MOODLE_INTERNAL checks
There are no side effects in these files, hence this check is unnecessary. Link: https://moodledev.io/general/development/policies/codingstyle#classes-1 Link: https://moodledev.io/general/development/policies/codingstyle#require--include
1 parent 5cb3032 commit c40c919

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

classes/alerts.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace theme_wwu2019;
2626

27-
defined('MOODLE_INTERNAL') || die;
28-
2927
/**
3028
* Port of essential alerts to WWUCD theme.
3129
*

classes/layout.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525

2626
use theme_wwu2019\output\core_renderer;
2727

28-
defined('MOODLE_INTERNAL') || die();
29-
3028
/**
3129
* This class provides functions for the different layouts of the theme.
3230
* @package theme_wwu2019

classes/output/core_renderer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
use navigation_node_collection;
3535
use pix_icon;
3636

37-
defined('MOODLE_INTERNAL') || die;
38-
3937
/**
4038
* Renderer for WWU 2019 Theme
4139
*

lib.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

25-
defined('MOODLE_INTERNAL') || die();
26-
2725
/**
2826
* Returns the main SCSS content.
2927
*

0 commit comments

Comments
 (0)