Skip to content

Commit

Permalink
webui: introduce getRestoreJobReplaceDirectives method
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Mar 26, 2020
1 parent 471ea6b commit f460303
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions webui/module/Restore/src/Restore/Form/RestoreForm.php
Expand Up @@ -631,6 +631,20 @@ private function getRestoreJobWhereDirectives()
return $selectData;
}

/**
*
*/
private function getRestoreJobReplaceDirectives()
{
$selectData = array();
if(!empty($this->restorejobresources)) {
foreach($this->restorejobresources as $restorejob) {
$selectData[$restorejob['replace']] = $restorejob['replace'];
}
}
return $selectData;
}

/**
*
*/
Expand Down

0 comments on commit f460303

Please sign in to comment.