backup MDL-22254 Added backup and restore of course completion information
[moodle.git] / backup / util / plan / backup_plan.class.php
index 39fb6f8..bf38ec0 100644 (file)
@@ -31,6 +31,7 @@ class backup_plan extends base_plan implements loggable {
 
     protected $controller; // The backup controller building/executing this plan
     protected $basepath;   // Fullpath to dir where backup is created
+    protected $excludingdactivities;
 
     /**
      * Constructor - instantiates one object of this class
@@ -67,6 +68,14 @@ class backup_plan extends base_plan implements loggable {
         return $this->controller->get_logger();
     }
 
+    public function is_excluding_activities() {
+        return $this->excludingdactivities;
+    }
+
+    public function set_excluding_activities() {
+        $this->excludingdactivities = true;
+    }
+
     public function log($message, $level, $a = null, $depth = null, $display = false) {
         backup_helper::log($message, $level, $a, $depth, $display, $this->get_logger());
     }