1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-24 14:31:42 +01:00

Fix creazione backup

This commit is contained in:
Thomas Zilio 2019-03-04 18:42:56 +01:00
parent daffd7b86d
commit c04cfca70e

View File

@ -80,7 +80,7 @@ class Backup
/**
* Effettua il backup giornaliero.
*
* @return null|bool
* @return bool|null
*/
public static function daily()
{
@ -173,6 +173,7 @@ class Backup
$dump = new Mysqldump('mysql:host='.$config['db_host'].';dbname='.$config['db_name'], $config['db_username'], $config['db_password'], [
'add-drop-table' => true,
'add-locks' => false,
]);
$dump->start($file);