Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5cdaf
)
MDL-33318 use $CFG->admin in path correctly - thanks to Clarence Prudhoe for report/fix
author
Dan Marsden
<dan@danmarsden.com>
Thu, 24 May 2012 02:08:01 +0000
(14:08 +1200)
committer
Dan Marsden
<dan@danmarsden.com>
Thu, 24 May 2012 02:08:01 +0000
(14:08 +1200)
lib/cronlib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/cronlib.php
b/lib/cronlib.php
index
0e47a65
..
3bbab29
100644
(file)
--- a/
lib/cronlib.php
+++ b/
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'));