Skip to content

Commit

Permalink
update version code and licence
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazsharif committed Sep 29, 2021
1 parent 752ba0c commit d286d1f
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 16 deletions.
4 changes: 2 additions & 2 deletions auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @see self::user_login()
* @see self::get_user_field()
* @package auth_otp
* @copyright 2020 Pawel Suwinski <psuw@wp.pl>
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -41,7 +41,7 @@
* @see self::user_login()
* @see self::get_user_field()
* @package auth_otp
* @copyright 2020 Pawel Suwinski <psuw@wp.pl>
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class auth_plugin_otp extends auth_plugin_base
Expand Down
4 changes: 2 additions & 2 deletions classes/awsotpservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
/**
* awsotpservice configuration.
*
* @package auth_oauth2
* @copyright 2017 Damyon Wiese
* @package auth_otp
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class awsotpservice implements otpmethods
Expand Down
5 changes: 5 additions & 0 deletions classes/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package auth_otp
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
use auth_otp\awsotpservice;

defined('MOODLE_INTERNAL') || die;
Expand Down
2 changes: 1 addition & 1 deletion db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Services for the auth_otp plugin.
*
* @package process_otp
* @copyright 2020 Brain Station 23
* @copyright 2021 Brain Station 23
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
*/

Expand Down
2 changes: 1 addition & 1 deletion db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* DB authentication plugin upgrade code
*
* @package auth_db
* @copyright 2017 Stephen Bourget
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand Down
6 changes: 3 additions & 3 deletions lang/en/auth_otp.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
/**
* Strings for component 'auth_otp', language 'en'.
*
* @package auth_otp
* @copyright 2020 Pawel Suwinski <psuw@wp.pl>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package auth_otp
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$string['pluginname'] = 'OTP';
Expand Down
6 changes: 3 additions & 3 deletions login.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
/**
* Open ID authentication. This file is a simple login entry point for OAuth identity providers.
*
* @package auth_oauth2
* @copyright 2017 Damyon Wiese
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package auth_otp
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
require_once('../../config.php');
global $DB, $OUTPUT, $CFG, $PAGE, $SITE;
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Admin settings and defaults
* @package auth_otp
* @copyright 2020 Pawel Suwinski <psuw@wp.pl>
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
/**
* Email OTP authentication plugin version information
*
* @package auth_emailotp
* @copyright 2020 Pawel Suwinski <psuw@wp.pl>
* @package auth_otp
* @copyright 2021 Brain Station 23 ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

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

$plugin->version = 2021091604; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2021091600; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2018120304; // Requires this Moodle version.
$plugin->component = 'auth_otp'; // Full name of the plugin (used for diagnostics).
$plugin->maturity = MATURITY_STABLE;
Expand Down

0 comments on commit d286d1f

Please sign in to comment.