Skip to content

Commit

Permalink
Refactor the runningFullReset varaible (#588) (#594)
Browse files Browse the repository at this point in the history
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
  • Loading branch information
SagarGi committed Mar 13, 2024
1 parent 51a5010 commit 44e9958
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Controller/ConfigController.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,14 @@ private function setIntegrationConfig(array $values): array {

$runningFullReset = (

$oldClientSecret &&

$oldClientId &&
key_exists('openproject_instance_url', $values) &&

key_exists('openproject_client_id', $values) &&

key_exists('openproject_client_secret', $values) &&

$values['openproject_instance_url'] === null &&

$values['openproject_client_id'] === null &&

$values['openproject_client_secret'] === null
Expand Down

0 comments on commit 44e9958

Please sign in to comment.