Skip to content

Commit

Permalink
fix compatibility with laravel-backup v6
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndubuisi Samuel committed Jan 7, 2020
1 parent d3ac918 commit e01275b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions resources/views/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
<th>Name</th>
<th>Disk</th>
<th>Reachable</th>
<th>Healthy</th>
<th># of backups</th>
<th>Newest backup</th>
<th>Used storage</th>
Expand All @@ -105,13 +104,12 @@
<td>{{ $backup[0] }}</td>
<td>{{ $backup[1] }}</td>
<td>{{ $backup[2] }}</td>
<td>{{ $backup[3] }}</td>
<td>{{ $backup['amount'] }}</td>
<td>{{ $backup['newest'] }}</td>
<td>{{ $backup['usedStorage'] }}</td>
</tr>
<tr class="collapse" id="trace-{{$index+1}}">
<td colspan="8">
<td colspan="7">
<ul class="todo-list ui-sortable">
@foreach($backup['files'] as $file)
<li>
Expand Down
2 changes: 1 addition & 1 deletion src/Backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Backup extends Extension
{
public function getExists()
{
$statuses = BackupDestinationStatusFactory::createForMonitorConfig(config('backup.monitorBackups'));
$statuses = BackupDestinationStatusFactory::createForMonitorConfig(config('backup.monitor_backups'));

$listCommand = new ListCommand();

Expand Down

0 comments on commit e01275b

Please sign in to comment.