mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-58138 completion: Assorted linting fixes.
Part of MDL-58138 epic
This commit is contained in:
parent
8db355c58f
commit
b17ee68202
8 changed files with 68 additions and 39 deletions
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
|
@ -33,7 +32,7 @@ $id = required_param('id', PARAM_INT); // Course id.
|
|||
// Perform some basic access control checks.
|
||||
if ($id) {
|
||||
|
||||
if($id == SITEID){
|
||||
if ($id == SITEID) {
|
||||
// Don't allow editing of 'site course' using this form.
|
||||
print_error('cannoteditsiteform');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue