MDL-32862 backup: fixed missing global

This commit is contained in:
Sam Hemelryk
2013-09-10 10:40:11 +12:00
parent 5db72d63c5
commit a7f3f08722
@@ -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,"/");