forked from uup-dump/api
Exclude FOD as edition
This commit is contained in:
parent
0665adf5f6
commit
e889ec6629
@ -56,6 +56,7 @@ function uupListEditions($lang = 'en-us', $updateId = 0) {
|
||||
$editionListFancy = array();
|
||||
foreach(array_keys($genPack[$lang]) as $edition) {
|
||||
if($edition == 'LXP') continue;
|
||||
if($edition == 'FOD') continue;
|
||||
|
||||
if(isset($fancyEditionNames[$edition])) {
|
||||
$fancyName = $fancyEditionNames[$edition];
|
||||
|
@ -50,6 +50,9 @@ function uupListLangs($updateId = 0) {
|
||||
if(!count(array_diff(array_keys($val), array('LXP')))) {
|
||||
continue;
|
||||
}
|
||||
if(!count(array_diff(array_keys($val), array('FOD')))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if(isset($fancyLangNames[$key])) {
|
||||
$fancyName = $fancyLangNames[$key];
|
||||
|
Loading…
Reference in New Issue
Block a user