Skip to content
Snippets Groups Projects
Commit bdee10d5 authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Code tidy.

parent 9fd610ba
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ require_once($CFG->libdir.'/adminlib.php');
// Fake settings object to catch some values.
class fakesettings {
public $maximaversions = [];
function add($some) {
public function add($some) {
if ($some->name === 'maximaversion') {
$this->maximaversions = $some->choices;
unset($this->maximaversions['default']);
......@@ -49,7 +49,6 @@ require(__DIR__ . '/../settings.php');
$plugin = new stdClass();
require(__DIR__ . '/../version.php');
// Get cli options.
list($options, $unrecognized) = cli_get_params(['help' => false, 'only' => 'row'], ['h' => 'help']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment