MDL-27856 coding style cleanup

This commit is contained in:
Petr Škoda 2012-09-02 11:00:01 +02:00
parent 94335e5a97
commit e7193380d8
12 changed files with 56 additions and 76 deletions

View file

@ -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);