From df8cbae80666f7643e839dd773f451defb9359a1 Mon Sep 17 00:00:00 2001 From: Hystepik Date: Mon, 25 Nov 2024 16:25:53 +0100 Subject: [PATCH] remove useless code --- htdocs/google/admin/google_other.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/htdocs/google/admin/google_other.php b/htdocs/google/admin/google_other.php index e84bd5190..57a848cf8 100644 --- a/htdocs/google/admin/google_other.php +++ b/htdocs/google/admin/google_other.php @@ -43,19 +43,6 @@ * Actions */ -if ($actionsave) { - $db->begin(); - - $res=dolibarr_set_const($db, 'GOOGLE_DEBUG', trim(GETPOST("GOOGLE_DEBUG")), 'chaine', 0, '', $conf->entity); - - if (! $error) { - $db->commit(); - $mesg = "".$langs->trans("SetupSaved").""; - } else { - $db->rollback(); - $mesg = "".$langs->trans("Error").""; - } -}