Qual: Fix spelling/update .pre-commit configuration (versions) (#30546)

* Qual: Update pre-commit configuration

* Qual: Update spelling

* Ignore use of deprecated constant
This commit is contained in:
MDW
2024-08-07 01:20:43 +02:00
committed by GitHub
parent 782f968eb7
commit d6948077b2
106 changed files with 318 additions and 440 deletions

View File

@@ -1360,7 +1360,7 @@ class Utils
if ($filesize > $sizelimit) {
$message .= '<br>'.$langs->trans("BackupIsTooLargeSend");
$documenturl = $dolibarr_main_url_root.'/document.php?modulepart=systemtools&atachement=1&file=backup/'.urlencode($filename[0]);
$message .= '<br><a href='.$documenturl.'>Lien de téléchargement</a>';
$message .= '<br><a href='.$documenturl.'>Download link</a>';
$filepath = '';
$mimetype = '';
$filename = '';
@@ -1390,7 +1390,7 @@ class Utils
dol_syslog(__METHOD__, LOG_DEBUG);
$this->error = "Error sending backp file ".((string) $error);
$this->error = "Error sending backup file ".((string) $error);
$this->output = $output;
if ($result) {