Skip to content

Commit

Permalink
Fixes for CodeChecker
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas JOURDAIN authored and Nicolas JOURDAIN committed Jul 16, 2018
1 parent eb9d059 commit 9d000aa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion amd/build/ncmlogin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions amd/src/ncmlogin.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* @package mod_ncmzoom
* @package theme_ncmboost
* @copyright 2018 Nicolas Jourdain
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
/**
* @module themencmboost
*/
/* jshint unused:false */
window.console.log('started v5');
define(['jquery'], function($) {
return {
init: function() {
Expand Down Expand Up @@ -44,16 +43,9 @@ define(['jquery'], function($) {
$('#login-reset').hide();
$('#login-username').show();
});



window.console.log('Hello World!');
//alert("Hello World!");
// Put whatever you like here. $ is available
// to you as normal.
});
}
};
});

window.console.log('Finished');
2 changes: 1 addition & 1 deletion classes/output/core_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function render_login(\core_auth\output\login $form) {
$context->sitename = format_string($SITE->fullname, true,
['context' => context_course::instance(SITEID), "escape" => false]
);

// Get the Login Page Type.
$loginpagetype = get_config('theme_ncmboost', 'loginpagetype');
if ($loginpagetype == 'SAMLAUTHFIRST') {
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
defined('MOODLE_INTERNAL') || die();

// This is the version of the plugin.
$plugin->version = 2018071304;
$plugin->version = 2018071600;

// This is the version of Moodle this plugin requires.
$plugin->requires = 2016112900.00;
Expand All @@ -44,5 +44,5 @@
$plugin->maturity = MATURITY_STABLE;

// This is the named version.
$plugin->release = 1.0;
$plugin->release = 1.1;

0 comments on commit 9d000aa

Please sign in to comment.