Merge pull request #9686 from frederic34/patch-11
PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
This commit is contained in:
commit
ccc6dea85c
@ -410,13 +410,13 @@ class Utils
|
|||||||
|
|
||||||
if ($compression == 'gz' or $compression == 'bz')
|
if ($compression == 'gz' or $compression == 'bz')
|
||||||
{
|
{
|
||||||
$this->backup_tables($outputfiletemp);
|
$this->backupTables($outputfiletemp);
|
||||||
dol_compress_file($outputfiletemp, $outputfile, $compression);
|
dol_compress_file($outputfiletemp, $outputfile, $compression);
|
||||||
unlink($outputfiletemp);
|
unlink($outputfiletemp);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$this->backup_tables($outputfile);
|
$this->backupTables($outputfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->output = "";
|
$this->output = "";
|
||||||
@ -836,7 +836,7 @@ class Utils
|
|||||||
* @param string $tables Table name or '*' for all
|
* @param string $tables Table name or '*' for all
|
||||||
* @return int <0 if KO, >0 if OK
|
* @return int <0 if KO, >0 if OK
|
||||||
*/
|
*/
|
||||||
function backup_tables($outputfile, $tables='*')
|
function backupTables($outputfile, $tables='*')
|
||||||
{
|
{
|
||||||
global $db, $langs;
|
global $db, $langs;
|
||||||
global $errormsg;
|
global $errormsg;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user