Fix fltBranch warning

This commit is contained in:
Kaenbyou Rin 2023-10-24 22:36:44 +02:00
parent 3855dc9ac4
commit 543e4c52e4
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ limitations under the License.
*/ */
function uupApiVersion() { function uupApiVersion() {
return '1.41.0'; return '1.41.1';
} }
require_once dirname(__FILE__).'/auths.php'; require_once dirname(__FILE__).'/auths.php';

View File

@ -50,12 +50,12 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) {
$insType = 'FactoryOS'; $insType = 'FactoryOS';
} }
$fltBranch = '';
$fltContent = 'Mainline'; $fltContent = 'Mainline';
$fltRing = 'External'; $fltRing = 'External';
$flight = 'Active'; $flight = 'Active';
if($ring == 'RETAIL') { if($ring == 'RETAIL') {
$fltBranch = '';
$fltContent = $flight; $fltContent = $flight;
$fltRing = 'Retail'; $fltRing = 'Retail';
$flightEnabled = 0; $flightEnabled = 0;