forked from uup-dump/api
Update listings to ignore files
This commit is contained in:
parent
9a80701470
commit
c85957b8a9
@ -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) {
|
||||||
|
@ -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'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user