forked from uup-dump/api
		
	uupGetGenPacks -> uupApiGetPacks
This commit is contained in:
		| @@ -16,7 +16,7 @@ limitations under the License. | ||||
| */ | ||||
|  | ||||
| function uupApiVersion() { | ||||
|     return '1.41.1'; | ||||
|     return '1.42.0-dev'; | ||||
| } | ||||
|  | ||||
| require_once dirname(__FILE__).'/auths.php'; | ||||
|   | ||||
| @@ -202,7 +202,7 @@ function uupGetInfoTexts() { | ||||
|     ); | ||||
| } | ||||
|  | ||||
| function uupGetGenPacks($build = 15063, $arch = null, $updateId = null) { | ||||
| function uupApiGetPacks($updateId) { | ||||
|     if(empty($updateId)) return []; | ||||
|     if(!file_exists('packs/'.$updateId.'.json.gz')) return []; | ||||
|  | ||||
| @@ -212,3 +212,7 @@ function uupGetGenPacks($build = 15063, $arch = null, $updateId = null) { | ||||
|     $genPack = json_decode($genPack, 1); | ||||
|     return $genPack; | ||||
| } | ||||
|  | ||||
| function uupGetGenPacks($build = 15063, $arch = null, $updateId = null) { | ||||
|     return uupApiGetPacks($updateId); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user