mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-31560 Error: Fixed coding style
This commit is contained in:
parent
2b503e40f2
commit
af0afab30a
@ -3,9 +3,9 @@
|
||||
require('../config.php');
|
||||
require_once($CFG->libdir.'/eventslib.php');
|
||||
|
||||
if ($form = data_submitted()) { // form submitted, do not check referer (original page unknown)!
|
||||
|
||||
/// Only deal with real users
|
||||
// Form submitted, do not check referer (original page unknown).
|
||||
if ($form = data_submitted()) {
|
||||
// Only deal with real users.
|
||||
if (!isloggedin()) {
|
||||
redirect($CFG->wwwroot);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user