summaryrefslogtreecommitdiffstats
path: root/modules/backup.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-16 10:37:41 +0200
committerSimon Rettberg2015-09-16 10:37:41 +0200
commit66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b (patch)
tree425b894bf3611a1f357630b1e219930f20afd9eb /modules/backup.inc.php
parentUpdate translations (diff)
downloadslx-admin-66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b.tar.gz
slx-admin-66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b.tar.xz
slx-admin-66300453b0945c2bf17e3eb3f40ff9e1fdb61d2b.zip
[backup/restore] Add options to select what to restore
Diffstat (limited to 'modules/backup.inc.php')
-rw-r--r--modules/backup.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/backup.inc.php b/modules/backup.inc.php
index 02b02b0e..8cc0502f 100644
--- a/modules/backup.inc.php
+++ b/modules/backup.inc.php
@@ -102,7 +102,9 @@ class Page_Backup extends Page
'mode' => 'restore',
'backupFile' => $tempfile,
'parentTask' => $parent,
- 'failOnParentFail' => false
+ 'failOnParentFail' => false,
+ 'restoreOpenslx' => Request::post('restore_openslx', 'off') === 'on',
+ 'restoreDozmod' => Request::post('restore_dozmod', 'off') === 'on',
));
if (isset($task['id'])) {
$this->templateData['restoreid'] = $task['id'];