Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Restore type parameter added
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed May 8, 2015
1 parent eff841c commit 1f02701
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions module/Restore/src/Restore/Controller/RestoreController.php
Expand Up @@ -47,6 +47,13 @@ public function indexAction()
*/
private function getRestoreParams()
{
if($this->params()->fromQuery('type')) {
$this->restore_params['type'] = $this->params()->fromQuery('type');
}
else {
$this->restore_params['type'] = null;
}

if($this->params()->fromQuery('job')) {
$this->restore_params['job'] = $this->params()->fromQuery('job');
}
Expand Down

0 comments on commit 1f02701

Please sign in to comment.