MDL-39060 backup: fix typo backup destroy() function
authorZig Tan <zig@moodle.com>
Mon, 26 Mar 2018 01:25:55 +0000 (09:25 +0800)
committerZig Tan <zig@moodle.com>
Mon, 26 Mar 2018 01:25:55 +0000 (09:25 +0800)
backup/util/plan/base_task.class.php

index 19cb072..ce30c06 100644 (file)
@@ -209,7 +209,7 @@ abstract class base_task implements checksumable, executable, loggable {
         }
         // Everything has been destroyed recursively, now we can reset safely
         $this->steps = array();
-        $this->setting = array();
+        $this->settings = array();
         $this->plan = null;
     }