diff --git a/www/install/php/Update-22.10.0-beta.1.php b/www/install/php/Update-22.10.0-beta.1.php index bf448a112a3..4deb4e7932a 100644 --- a/www/install/php/Update-22.10.0-beta.1.php +++ b/www/install/php/Update-22.10.0-beta.1.php @@ -32,7 +32,8 @@ $errorMessage = "Unable to delete 'oreon_web_path' option from database"; $pearDB->query("DELETE FROM `options` WHERE `key` = 'oreon_web_path'"); - $errorMessage = "Unable to delete 'appKey' option from database"; + + $errorMessage = "Unable to delete 'appKey' information from database"; $pearDB->query("DELETE FROM `informations` WHERE `key` = 'appKey'"); $pearDB->commit(); diff --git a/www/install/sql/centreon/Update-DB-22.10.0-beta.1.sql b/www/install/sql/centreon/Update-DB-22.10.0-beta.1.sql index c7970ad4616..d75120c98e8 100644 --- a/www/install/sql/centreon/Update-DB-22.10.0-beta.1.sql +++ b/www/install/sql/centreon/Update-DB-22.10.0-beta.1.sql @@ -124,4 +124,4 @@ ALTER TABLE cfg_nagios MODIFY `debug_verbosity` enum('0','1'); ALTER TABLE contact DROP COLUMN IF EXISTS `enable_one_click_export`; -ALTER TABLE remote_servers DROP COLUMN IF EXISTS `app_key`; \ No newline at end of file +ALTER TABLE remote_servers DROP COLUMN `app_key`; \ No newline at end of file