Update listings to ignore files

This commit is contained in:
eraseyourknees@gmail.com 2022-08-25 18:32:21 +02:00
parent 9a80701470
commit c85957b8a9
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
Copyright 2019 UUP dump API authors Copyright 2022 UUP dump API authors
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -21,7 +21,7 @@ require_once dirname(__FILE__).'/updateinfo.php';
function uupListEditions($lang = 'en-us', $updateId = 0) { function uupListEditions($lang = 'en-us', $updateId = 0) {
if($updateId) { if($updateId) {
$info = uupUpdateInfo($updateId); $info = uupUpdateInfo($updateId, false, true);
} }
if(!$lang) { if(!$lang) {

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
Copyright 2019 UUP dump API authors Copyright 2022 UUP dump API authors
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -21,7 +21,7 @@ require_once dirname(__FILE__).'/updateinfo.php';
function uupListLangs($updateId = 0) { function uupListLangs($updateId = 0) {
if($updateId) { if($updateId) {
$info = uupUpdateInfo($updateId); $info = uupUpdateInfo($updateId, false, true);
} }
if(isset($info['info'])) { if(isset($info['info'])) {