Permalink
Browse files

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

…hoe for report/fix
  • Loading branch information...
1 parent 5a5cdaf commit eef67fe8c55a71b7853976efaaefef23db459c43 @danmarsden danmarsden committed May 24, 2012
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'));

0 comments on commit eef67fe

Please sign in to comment.