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 91fa5b8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Last release of this plugin is 7.27.1 (9th of nov. 2021).

## [Unreleased]
- fix(ci): moodle code checker warning and errors #19424.

## v7.27.1 - 9th nov. 2021
- Fix "missing ['privacy:metadata']" from @christina-roperto contribution #86
- Improve the "MathType Moodle Plugins Suite" software development cycle.
Expand Down
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 91fa5b8

Please sign in to comment.