From 543e4c52e4065edb2ed685c2860b7744306bb593 Mon Sep 17 00:00:00 2001 From: orin Date: Tue, 24 Oct 2023 22:36:44 +0200 Subject: [PATCH] Fix fltBranch warning --- shared/main.php | 2 +- shared/requests.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/main.php b/shared/main.php index 254418e..cefeed9 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ function uupApiVersion() { - return '1.41.0'; + return '1.41.1'; } require_once dirname(__FILE__).'/auths.php'; diff --git a/shared/requests.php b/shared/requests.php index 269fab0..2207be8 100644 --- a/shared/requests.php +++ b/shared/requests.php @@ -50,12 +50,12 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) { $insType = 'FactoryOS'; } + $fltBranch = ''; $fltContent = 'Mainline'; $fltRing = 'External'; $flight = 'Active'; if($ring == 'RETAIL') { - $fltBranch = ''; $fltContent = $flight; $fltRing = 'Retail'; $flightEnabled = 0;