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

Commit

Permalink
Merge branch 'bareos-15.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Feb 26, 2016
2 parents 40e66ba + 0bca9e8 commit 1ab5cb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions module/Dashboard/view/dashboard/dashboard/index.phtml
Expand Up @@ -77,13 +77,6 @@ $this->headTitle($title);

</div>

<div class="col-md-4">
<div class="alert alert-dismissable alert-warning" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
Heads up! You are now able to <a href="<?php echo $this->url('restore', array()); ?>" class="alert-link"><?php echo $this->translate("restore"); ?></a> your files via the webui.
</div>
</div>

</div>

<?php
Expand Down
2 changes: 1 addition & 1 deletion vendor/Bareos/library/Bareos/BSock/BareosBSock.php
Expand Up @@ -920,7 +920,7 @@ public function restore($type=null, $jobid=null, $client=null, $restoreclient=nu
$debug = self::receive_message();
}

if(self::send("restore file=?b2000$rnd client=$client restoreclient=$restoreclient restorejob=$restorejob where=$where replace=$replace yes")) {
if(self::send('restore file=?b2000'.$rnd.' client='.$client.' restoreclient='.$restoreclient.' restorejob="'.$restorejob.'" where='.$where.' replace='.$replace.' yes')) {
$result = self::receive_message();
}

Expand Down

0 comments on commit 1ab5cb2

Please sign in to comment.