From c04cfca70ee0351f29942373a201f221f68d714d Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Mon, 4 Mar 2019 18:42:56 +0100 Subject: [PATCH] Fix creazione backup --- src/Backup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Backup.php b/src/Backup.php index 2e2dc8346..f9d2f4f6f 100644 --- a/src/Backup.php +++ b/src/Backup.php @@ -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);