Skip to content
Snippets Groups Projects
Commit b8e14cb3 authored by Marius Burkard's avatar Marius Burkard
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent a62112f8
No related branches found
No related tags found
No related merge requests found
...@@ -184,7 +184,7 @@ class plugin_backuplist extends plugin_base { ...@@ -184,7 +184,7 @@ class plugin_backuplist extends plugin_base {
$backup_format = $rec['backup_format']; $backup_format = $rec['backup_format'];
$backup_mode = $rec['backup_mode']; $backup_mode = $rec['backup_mode'];
if ($backup_mode == 'borg') { if ($backup_mode === 'borg') {
// Get backup format from domain config // Get backup format from domain config
switch ($rec['backup_type']) { switch ($rec['backup_type']) {
case 'mysql': case 'mysql':
...@@ -236,7 +236,7 @@ class plugin_backuplist extends plugin_base { ...@@ -236,7 +236,7 @@ class plugin_backuplist extends plugin_base {
if($rec['filesize'] > 0){ if($rec['filesize'] > 0){
$rec['filesize'] = $app->functions->currency_format($rec['filesize']/(1024*1024), 'client').' MB'; $rec['filesize'] = $app->functions->currency_format($rec['filesize']/(1024*1024), 'client').' MB';
if($backup_mode == "borg") { if($backup_mode === "borg") {
$rec['filesize'] = '<a href="javascript:void(0)" data-toggle="tooltip" title="' $rec['filesize'] = '<a href="javascript:void(0)" data-toggle="tooltip" title="'
. $wb['final_size_txt'] . $wb['final_size_txt']
. '"><strong>*</strong></a>' . '"><strong>*</strong></a>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment