MDL-23478 backup - adding support for fileareas to blocks
[moodle.git] / backup / util / dbops / restore_dbops.class.php
index 977d9a6..da04aeb 100644 (file)
@@ -43,7 +43,7 @@ abstract class restore_dbops {
             $included = false;
             // blocks, based in blocks setting and parent activity/course
             if ($task instanceof restore_block_task) {
-                if (!$task->get_setting('blocks')) { // Blocks not included, continue
+                if (!$task->get_setting_value('blocks')) { // Blocks not included, continue
                     continue;
                 }
                 $parent = basename(dirname(dirname($task->get_taskbasepath())));