NOBUG: Added note to avoid forgetting it
This commit is contained in:
@@ -157,6 +157,8 @@ class backup_controller extends backup implements loggable {
|
||||
// TODO: Check it's a correct status
|
||||
$this->status = $status;
|
||||
// Ensure that, once set to backup::STATUS_AWAITING, controller is stored in DB
|
||||
// Note: never save_controller() after STATUS_EXECUTING or the whole controller,
|
||||
// containing all the steps will be sent to DB. 100% (monster) useless.
|
||||
if ($status == backup::STATUS_AWAITING) {
|
||||
$this->save_controller();
|
||||
$this->logger = self::load_controller($this->backupid)->logger; // wakeup loggers
|
||||
|
||||
Reference in New Issue
Block a user