'') { $msg .= $deleteResult; } } if (isset($_POST['deleteall']) || isset($_POST['deleteallfilter'])) { if (isset($_POST['deleteall'])) { $del = deleteMultipartFiles($config['paths']['backup'], '', '.sql'); $del = array_merge( $del, deleteMultipartFiles($config['paths']['backup'], '', '.gz') ); } else { $del = deleteMultipartFiles($config['paths']['backup'], $dbactive); } } // print file-delete-messages if (is_array($del) && sizeof($del) > 0) { foreach ($del as $file => $success) { if ($success) { $msg .= $lang['L_FM_DELETE1'] . ' \'' . $file . '\' '; $msg .= $lang['L_FM_DELETE2']; $msg = Html::getOkMsg($msg); $log->write(Log::PHP, "Deleted '$file'."); } else { $msg .= $lang['L_FM_DELETE1'] . ' \'' . $file . '\' '; $msg .= $lang['L_FM_DELETE3']; $msg = Html::getErrorMsg($msg); $log->write(Log::PHP, "Deleted '$file'."); } } }