mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-27856 coding style cleanup
This commit is contained in:
parent
94335e5a97
commit
e7193380d8
12 changed files with 56 additions and 76 deletions
|
@ -20,8 +20,7 @@
|
|||
* The general idea behind this file is that any errors should throw exceptions
|
||||
* which will be returned and acted upon by the calling AJAX script.
|
||||
*
|
||||
* @package enrol
|
||||
* @subpackage cohort
|
||||
* @package enrol_cohort
|
||||
* @copyright 2011 Sam Hemelryk
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
@ -33,7 +32,7 @@ require_once($CFG->dirroot.'/enrol/locallib.php');
|
|||
require_once($CFG->dirroot.'/enrol/cohort/locallib.php');
|
||||
require_once($CFG->dirroot.'/group/lib.php');
|
||||
|
||||
// Must have the sesskey
|
||||
// Must have the sesskey.
|
||||
$id = required_param('id', PARAM_INT); // course id
|
||||
$action = required_param('action', PARAM_ALPHANUMEXT);
|
||||
|
||||
|
@ -50,7 +49,7 @@ require_login($course);
|
|||
require_capability('moodle/course:enrolreview', $context);
|
||||
require_sesskey();
|
||||
|
||||
echo $OUTPUT->header(); // send headers
|
||||
echo $OUTPUT->header(); // Send headers.
|
||||
|
||||
$manager = new course_enrolment_manager($PAGE, $course);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue