Skip to content


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 eef67fe8c55a71b7853976efaaefef23db459c43 1 parent 5a5cdaf
Dan Marsden danmarsden authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cronlib.php
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();
mtrace(get_string('siteupdatesend', 'hub'));
Please sign in to comment.
Something went wrong with that request. Please try again.