Version 1.0.3 - Removed local_outage example plugin from code. I created another branch with the example code for future reference if needed.

This commit is contained in:
Daniel Thee Roperto
2016-10-14 12:11:58 +11:00
parent 50689c3b4c
commit c49c854a89
5 changed files with 2 additions and 108 deletions

View File

@@ -1,6 +0,0 @@
What is this?
-------------
This is a local plugin used together with the auth plugin.
You will only need it if you are using Moodle 2.8 or lower.

View File

@@ -1,26 +0,0 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
//
/**
* Strings for component 'local_outage', language 'en'.
*
* @package auth_outage
* @author Daniel Thee Roperto <daniel.roperto@catalyst-au.net>
* @copyright 2016 Catalyst IT
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['pluginname'] = 'Outage for Old Moodle';

View File

@@ -1,42 +0,0 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* local_outage plugin lib
*
* @package auth_outage
* @author Daniel Thee Roperto <daniel.roperto@catalyst-au.net>
* @copyright 2016 Catalyst IT
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
use auth_outage\local\outagelib;
defined('MOODLE_INTERNAL') || die();
/**
* Used since Moodle 29.
*/
function local_outage_extend_navigation() {
outagelib::inject();
}
/**
* Used since Moodle 29.
*/
function local_outage_extend_settings_navigation() {
outagelib::inject();
}

View File

@@ -1,32 +0,0 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Version information.
*
* @package auth_outage
* @author Daniel Thee Roperto <daniel.roperto@catalyst-au.net>
* @copyright 2016 Catalyst IT
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$plugin->component = "local_outage";
$plugin->version = 2016092900; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = 'Build '.$plugin->version; // Human-readable release information.
$plugin->requires = 2014051200; // Requires Moodle 2.7 or later.
$plugin->maturity = MATURITY_STABLE; // Not suitable for PRODUCTION environments yet!

View File

@@ -28,7 +28,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->component = "auth_outage";
$plugin->version = 2016101200; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '1.0.2'; // Human-readable release information.
$plugin->version = 2016101400; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '1.0.3'; // Human-readable release information.
$plugin->requires = 2014051200; // Requires Moodle 2.7 or later. Moodle 2.9 or later recommended.
$plugin->maturity = MATURITY_STABLE; // Suitable for PRODUCTION environments!