Clean up enums and cache-keys configs
This commit is contained in:
@@ -1,31 +1,21 @@
|
||||
<?php
|
||||
|
||||
# TODO: Remove this ugly hackiness
|
||||
if(defined('VMSEnums')) {
|
||||
return;
|
||||
} else {
|
||||
define('VMSEnums', true);
|
||||
}
|
||||
return [
|
||||
'sources' => [
|
||||
'MANUAL' => 0,
|
||||
'ACARS' => 1,
|
||||
],
|
||||
|
||||
class VMSEnums
|
||||
{
|
||||
public static $sources
|
||||
= [
|
||||
'MANUAL' => 0,
|
||||
'ACARS' => 1,
|
||||
];
|
||||
'pirep_status' => [
|
||||
'PENDING' => 0,
|
||||
'ACCEPTED' => 1,
|
||||
'REJECTED' => -1,
|
||||
],
|
||||
|
||||
public static $pirep_status
|
||||
= [
|
||||
'PENDING' => 0,
|
||||
'ACCEPTED' => 1,
|
||||
'REJECTED' => -1,
|
||||
];
|
||||
'fuel_types' => [
|
||||
'100LL' => 0,
|
||||
'JETA' => 1,
|
||||
'MOGAS' => 2,
|
||||
],
|
||||
];
|
||||
|
||||
public static $fuel_types
|
||||
= [
|
||||
'100LL' => 0,
|
||||
'JETA' => 1,
|
||||
'MOGAS' => 2,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user