Merge pull request #9686 from frederic34/patch-11

PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
This commit is contained in:
Laurent Destailleur 2018-10-06 12:46:54 +02:00 committed by GitHub
commit ccc6dea85c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -410,13 +410,13 @@ class Utils
if ($compression == 'gz' or $compression == 'bz')
{
$this->backup_tables($outputfiletemp);
$this->backupTables($outputfiletemp);
dol_compress_file($outputfiletemp, $outputfile, $compression);
unlink($outputfiletemp);
}
else
{
$this->backup_tables($outputfile);
$this->backupTables($outputfile);
}
$this->output = "";
@ -836,7 +836,7 @@ class Utils
* @param string $tables Table name or '*' for all
* @return int <0 if KO, >0 if OK
*/
function backup_tables($outputfile, $tables='*')
function backupTables($outputfile, $tables='*')
{
global $db, $langs;
global $errormsg;
@ -996,4 +996,4 @@ class Utils
return 1;
}
}
}