MDL-32862 backup: fixed missing global

This commit is contained in:
Sam Hemelryk
2013-09-10 10:47:25 +12:00
parent 7eb3ddf9b5
commit 0e2b007f33
@@ -58,7 +58,7 @@ class backup_resource_activity_task extends backup_activity_task {
* @return string the content with the URLs encoded
*/
static public function encode_content_links($content) {
global $CFG;
global $CFG, $DB;
$base = preg_quote($CFG->wwwroot,"/");