Add updateInfo to return value of uupListLangs
"Quality of life"
This commit is contained in:
parent
a702b2adee
commit
bb1792bfe3
@ -58,9 +58,18 @@ function uupListLangs($updateId = 0) {
|
|||||||
$langListFancy[$key] = $fancyName;
|
$langListFancy[$key] = $fancyName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(isset($info)) {
|
||||||
return array(
|
return array(
|
||||||
'apiVersion' => uupApiVersion(),
|
'apiVersion' => uupApiVersion(),
|
||||||
'langList' => $langList,
|
'langList' => $langList,
|
||||||
'langFancyNames' => $langListFancy,
|
'langFancyNames' => $langListFancy,
|
||||||
|
'updateInfo' => $info
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
return array(
|
||||||
|
'apiVersion' => uupApiVersion(),
|
||||||
|
'langList' => $langList,
|
||||||
|
'langFancyNames' => $langListFancy
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user