forked from uup-dump/api
Fix fltBranch warning
This commit is contained in:
parent
3855dc9ac4
commit
543e4c52e4
@ -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';
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user