mirror of
https://github.com/moodle/moodle.git
synced 2025-05-05 15:57:04 +02:00
Fixed a notice
This commit is contained in:
parent
76b60bb897
commit
7e192c788d
@ -170,7 +170,9 @@
|
||||
require_once("$CFG->dirroot/enrol/$CFG->enrol/enrol.php");
|
||||
$enrol = new enrolment_plugin();
|
||||
$enrol->cron();
|
||||
echo $enrol->log;
|
||||
if (!empty($enrol->log)) {
|
||||
echo $enrol->log;
|
||||
}
|
||||
|
||||
//Unset session variables and destroy it
|
||||
@session_unset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user