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

Commit

Permalink
API 2 adjustments
Browse files Browse the repository at this point in the history
Due to some changes in api 2 and the list command,
we need to do some adjustments.

Signed-off-by: Frank Bergkemper <frank.bergkemper@dass-it.de>
  • Loading branch information
fbergkemper committed Oct 7, 2015
1 parent 1e3dd10 commit 779dccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/Client/src/Client/Controller/ClientController.php
Expand Up @@ -98,7 +98,7 @@ private function getClient($client=null)
private function getClientBackups($client=null, $limit=10, $order="desc")
{
$director = $this->getServiceLocator()->get('director');
$result = $director->send_command('list backups client="'.$client.'" limit='.$limit.' order='.$order.'', 2, null);
$result = $director->send_command('llist backups client="'.$client.'" limit='.$limit.' order='.$order.'', 2, null);
if( preg_match("/Select/", $result) ) {
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion module/Job/view/job/job/details.phtml
Expand Up @@ -57,7 +57,7 @@ $this->headTitle($title);
</tr>

<tr>
<td><b>Client</b></td><td><a href="<?php echo $this->url('client', array('action' => 'details', 'id' => $job['clientname'])); ?>"><?php echo $this->escapeHtml($job['clientname']); ?></a></td>
<td><b>Client</b></td><td><a href="<?php echo $this->url('client', array('action' => 'details', 'id' => $job['client'])); ?>"><?php echo $this->escapeHtml($job['client']); ?></a></td>
<td><b>End</b></td><td><?php echo $this->printDate($job['endtime'], 'iso'); ?></td>
<td><b>Files</b></td><td><?php echo $this->escapeHtml($job['jobfiles']); ?></td>
</tr>
Expand Down

0 comments on commit 779dccf

Please sign in to comment.