Browse files

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

…hoe for report/fix
  • Loading branch information...
1 parent 14fdcb4 commit f67ac6697cf328d347213442e12e26b84878e17a @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 f67ac66

Please sign in to comment.