Exclude FOD as edition

This commit is contained in:
abbodi1406 2021-12-31 13:44:02 +03:00
parent 0665adf5f6
commit e889ec6629
2 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,7 @@ function uupListEditions($lang = 'en-us', $updateId = 0) {
$editionListFancy = array(); $editionListFancy = array();
foreach(array_keys($genPack[$lang]) as $edition) { foreach(array_keys($genPack[$lang]) as $edition) {
if($edition == 'LXP') continue; if($edition == 'LXP') continue;
if($edition == 'FOD') continue;
if(isset($fancyEditionNames[$edition])) { if(isset($fancyEditionNames[$edition])) {
$fancyName = $fancyEditionNames[$edition]; $fancyName = $fancyEditionNames[$edition];

View File

@ -50,6 +50,9 @@ function uupListLangs($updateId = 0) {
if(!count(array_diff(array_keys($val), array('LXP')))) { if(!count(array_diff(array_keys($val), array('LXP')))) {
continue; continue;
} }
if(!count(array_diff(array_keys($val), array('FOD')))) {
continue;
}
if(isset($fancyLangNames[$key])) { if(isset($fancyLangNames[$key])) {
$fancyName = $fancyLangNames[$key]; $fancyName = $fancyLangNames[$key];