Skip to content

Commit

Permalink
fix(ci): moodle code checker warning and errors
Browse files Browse the repository at this point in the history
Removed unnecessary MOODLE_INTERNAL defines.

#taskid 19424
  • Loading branch information
icaparros-at-wiris committed Jan 18, 2022
1 parent da42504 commit 5ab4859
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

namespace atto_wiris\privacy;

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

/**
* Privacy Subsystem for MathType Atto plugin implementing null_provider.
*
Expand Down
2 changes: 0 additions & 2 deletions db/install.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();

/**
* Enable MathType for Atto buttons on installation.
*/
Expand Down
2 changes: 0 additions & 2 deletions db/uninstall.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();

function xmldb_atto_wiris_uninstall() {
// Remove 'wiris' from the toolbar editor_atto config variable.
$toolbar = get_config('editor_atto', 'toolbar');
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();

/**
* Initialise the js strings required for this module.
*/
Expand Down

0 comments on commit 5ab4859

Please sign in to comment.