Skip to content

Commit

Permalink
webui: introduce getRestoreJobWhereDirectives method
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Mar 23, 2020
1 parent 39e6c14 commit e8a0de8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions webui/module/Restore/src/Restore/Form/RestoreForm.php
Expand Up @@ -615,6 +615,16 @@ private function getRestoreJobList()
}
return $selectData;
}

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

0 comments on commit e8a0de8

Please sign in to comment.