Skip to content

Commit

Permalink
Merge remote-tracking branch 'Z_MondoGao/main' into ench/noid/nvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
docjyJ committed Dec 17, 2024
2 parents 0195785 + cc06315 commit 74039d1
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions php/src/Data/ConfigurationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -990,19 +990,11 @@ private function GetEnabledNvidiaGPUMode() : string {
}

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

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

private function GetKeepDisabledApps() : string {
Expand Down

0 comments on commit 74039d1

Please sign in to comment.