From f8b2f738bb625d656de87db93f9645066c0bfe5e Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 17 Mar 2023 09:30:17 +0000 Subject: remove redundant untranslated htconfig templates and add the db_skip_locked_supported config option --- view/de-de/htconfig.tpl | 112 -------------------------------------- view/en-au/htconfig.tpl | 107 ------------------------------------ view/en-gb/htconfig.tpl | 106 ------------------------------------ view/en/htconfig.tpl | 6 ++ view/fr/htconfig.tpl | 6 ++ view/it/htconfig.tpl | 111 ------------------------------------- view/nb-no/htconfig.tpl | 111 ------------------------------------- view/pl/htconfig.tpl | 6 ++ view/pt-br/htconfig.tpl | 112 -------------------------------------- view/ru/htconfig.tpl | 112 -------------------------------------- view/sv/htconfig.tpl | 112 -------------------------------------- view/theme/redbasic/php/theme.php | 1 - 12 files changed, 18 insertions(+), 884 deletions(-) delete mode 100644 view/de-de/htconfig.tpl delete mode 100644 view/en-au/htconfig.tpl delete mode 100644 view/en-gb/htconfig.tpl delete mode 100644 view/it/htconfig.tpl delete mode 100644 view/nb-no/htconfig.tpl delete mode 100644 view/pt-br/htconfig.tpl delete mode 100644 view/ru/htconfig.tpl delete mode 100644 view/sv/htconfig.tpl diff --git a/view/de-de/htconfig.tpl b/view/de-de/htconfig.tpl deleted file mode 100644 index 10068a66b..000000000 --- a/view/de-de/htconfig.tpl +++ /dev/null @@ -1,112 +0,0 @@ - 9.5, mysql > 8.0 and mariadb > 10.6 +App::$config['system']['db_skip_locked_supported'] = 0; + + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/fr/htconfig.tpl b/view/fr/htconfig.tpl index d33a955f0..b9f011f73 100644 --- a/view/fr/htconfig.tpl +++ b/view/fr/htconfig.tpl @@ -11,6 +11,12 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +// Set this to 1 if your DB backend supports skip locked. +// This is known to be the case for +// postgresql > 9.5, mysql > 8.0 and mariadb > 10.6 +App::$config['system']['db_skip_locked_supported'] = 0; + + /* * Note: Plusieurs de ces réglages seront disponibles via le panneau d'administration * après l'installation. Lorsque des modifications sont apportés à travers le panneau d'administration diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl deleted file mode 100644 index 6fa86d9ac..000000000 --- a/view/it/htconfig.tpl +++ /dev/null @@ -1,111 +0,0 @@ - 9.5, mysql > 8.0 and mariadb > 10.6 +App::$config['system']['db_skip_locked_supported'] = 0; + + /* * Uwaga: wiele z poniższych ustawień będzie dostępnych w panelu administracyjnym * po pomyślnej instalacji portalu. Po ustawieniu w panelu administracyjnym, opcje diff --git a/view/pt-br/htconfig.tpl b/view/pt-br/htconfig.tpl deleted file mode 100644 index 10068a66b..000000000 --- a/view/pt-br/htconfig.tpl +++ /dev/null @@ -1,112 +0,0 @@ -