mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #27 - CLI implemented. Added full test coverage to CLI classes.
This commit is contained in:
7
auth.php
7
auth.php
@@ -24,17 +24,14 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||
*/
|
||||
|
||||
if (!defined('MOODLE_INTERNAL')) {
|
||||
die('Direct access to this script is forbidden.'); // It must be included from a Moodle page.
|
||||
}
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once($CFG->libdir . '/authlib.php');
|
||||
|
||||
/**
|
||||
* Class auth_plugin_outage
|
||||
*/
|
||||
class auth_plugin_outage extends auth_plugin_base
|
||||
{
|
||||
class auth_plugin_outage extends auth_plugin_base {
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user