Add missing MOODLE_INTERNAL constants

This commit is contained in:
Dmitrii Metelkin 2018-01-29 11:17:54 +11:00
parent c7e17febb5
commit 0119c5b1b0
3 changed files with 6 additions and 0 deletions

View file

@ -24,6 +24,8 @@
namespace auth_userkey; namespace auth_userkey;
defined('MOODLE_INTERNAL') || die;
class core_userkey_manager implements userkey_manager_interface { class core_userkey_manager implements userkey_manager_interface {
/** /**

View file

@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined('MOODLE_INTERNAL') || die;
$functions = array( $functions = array(
'auth_userkey_request_login_url' => array( 'auth_userkey_request_login_url' => array(
'classname' => 'auth_userkey_external', 'classname' => 'auth_userkey_external',

View file

@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined('MOODLE_INTERNAL') || die;
$string['pluginname'] = 'User key authentication'; $string['pluginname'] = 'User key authentication';
$string['auth_userkeydescription'] = 'Log in to Moodle using one time user key.'; $string['auth_userkeydescription'] = 'Log in to Moodle using one time user key.';
$string['mappingfield'] = 'Mapping field'; $string['mappingfield'] = 'Mapping field';