Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Applying suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hyahiaoui-ext committed Jul 13, 2022
1 parent 1d4e5e8 commit 3627c60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion www/install/php/Update-22.10.0-beta.1.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion www/install/sql/centreon/Update-DB-22.10.0-beta.1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
ALTER TABLE remote_servers DROP COLUMN `app_key`;

0 comments on commit 3627c60

Please sign in to comment.