MDL-68241 mod_h5pactivity: remove MOODLE_INTERNAL

This commit is contained in:
Ferran Recio 2020-05-12 15:08:56 +02:00
parent e28b40695d
commit 4d0241e488
13 changed files with 4 additions and 28 deletions

View File

@ -28,8 +28,6 @@ namespace mod_h5pactivity\local;
use stdClass;
use core_xapi\local\statement;
defined('MOODLE_INTERNAL') || die();
/**
* Class attempt for H5P activity
*

View File

@ -35,8 +35,6 @@ use core_privacy\local\request\userlist;
use core_privacy\local\request\writer;
use stdClass;
defined('MOODLE_INTERNAL') || die();
/**
* Privacy API implementation for the H5P activity plugin.
*

View File

@ -35,6 +35,7 @@ use context_module;
defined('MOODLE_INTERNAL') || die();
global $CFG;
require_once($CFG->dirroot.'/mod/h5pactivity/lib.php');
/**

View File

@ -39,14 +39,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
/**
* H5P activity module upgrade.
*
* @package mod_h5pactivity
* @copyright 2017 Stephen Bourget
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
/**

View File

@ -22,11 +22,11 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
use mod_h5pactivity\local\manager;
use mod_h5pactivity\local\grader;
defined('MOODLE_INTERNAL') || die();
/**
* Checks if H5P activity supports a specific feature.
*

View File

@ -26,6 +26,7 @@ use mod_h5pactivity\local\manager;
defined('MOODLE_INTERNAL') || die();
global $CFG;
require_once($CFG->dirroot.'/course/moodleform_mod.php');
/**

View File

@ -28,8 +28,6 @@ use advanced_testcase;
use context_course;
use context_module;
defined('MOODLE_INTERNAL') || die();
/**
* H5P activity events test cases.
*

View File

@ -28,8 +28,6 @@ use advanced_testcase;
use context_course;
use context_module;
defined('MOODLE_INTERNAL') || die();
/**
* H5P activity events test cases.
*

View File

@ -28,8 +28,6 @@ use advanced_testcase;
use context_course;
use context_module;
defined('MOODLE_INTERNAL') || die();
/**
* H5P activity events test cases.
*

View File

@ -25,8 +25,6 @@
use mod_h5pactivity\local\manager;
defined('MOODLE_INTERNAL') || die();
/**
* Genarator tests class for mod_h5pactivity.
*

View File

@ -34,8 +34,6 @@ use \core_xapi\local\statement\item_verb;
use \core_xapi\local\statement\item_result;
use stdClass;
defined('MOODLE_INTERNAL') || die();
/**
* Attempt tests class for mod_h5pactivity.
*

View File

@ -25,8 +25,6 @@
namespace mod_h5pactivity\privacy;
defined('MOODLE_INTERNAL') || die();
use \core_privacy\local\request\approved_contextlist;
use \core_privacy\local\request\approved_userlist;
use \core_privacy\local\request\writer;

View File

@ -35,8 +35,6 @@ use \core_xapi\local\statement\item_result;
use context_module;
use stdClass;
defined('MOODLE_INTERNAL') || die();
/**
* Attempt tests class for mod_h5pactivity.
*