Skip to content

Commit

Permalink
addressing GHA issues (Moodle Code Checker) #1
Browse files Browse the repository at this point in the history
  • Loading branch information
opitz committed Jan 27, 2022
1 parent 3deda67 commit 2e30dd6
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions backup/moodle2/restore_format_topics2_plugin.class.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();

/**
* Specialised restore for format_topics2
*
Expand Down
1 change: 0 additions & 1 deletion classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
namespace format_topics2\privacy;
defined('MOODLE_INTERNAL') || die();
/**
* Privacy Subsystem for format_topics2 implementing null_provider.
*
Expand Down
2 changes: 0 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

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

/**
* Upgrade script for format_topics2
*
Expand Down
2 changes: 0 additions & 2 deletions db/upgradelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

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

/**
* This method finds all courses in 'topics2' format that have actual number of sections
* different than their 'numsections' course format option.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

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

global $CFG;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @copyright 2015 Marina Glancy
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

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

global $CFG;
Expand Down

0 comments on commit 2e30dd6

Please sign in to comment.