Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-33318 use $CFG->admin in path correctly - thanks to Clarence Prud…

…hoe for report/fix
  • Loading branch information...
commit f67ac6697cf328d347213442e12e26b84878e17a 1 parent 14fdcb4
@danmarsden danmarsden authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cronlib.php
View
2  lib/cronlib.php
@@ -376,7 +376,7 @@ function cron_run() {
//Run registration updated cron
mtrace(get_string('siteupdatesstart', 'hub'));
- require_once($CFG->dirroot . '/admin/registration/lib.php');
+ require_once($CFG->dirroot . "/$CFG->admin/registration/lib.php");
$registrationmanager = new registration_manager();
$registrationmanager->cron();
mtrace(get_string('siteupdatesend', 'hub'));
Please sign in to comment.
Something went wrong with that request. Please try again.