Skip to content

Commit

Permalink
Update php/src/Data/ConfigurationManager.php
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Yves <[email protected]>
  • Loading branch information
docjyJ authored Dec 17, 2024
1 parent 8fa7da0 commit eef39a0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions php/src/Data/ConfigurationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -928,11 +928,7 @@ private function GetEnabledNvidiaGPUMode() : string {
}

public function isNvidiaRuntimeEnabled() : bool {
if ($this->GetEnabledNvidiaGPUMode() === 'runtime') {
return true;
} else {
return false;
}
$this->GetEnabledNvidiaGPUMode() === 'runtime'
}

public function isNvidiaDeployEnabled() : bool {
Expand Down

0 comments on commit eef39a0

Please sign in to comment.