|
@@ -7,7 +7,7 @@ |
|
|
block discarded – undo |
|
7
|
7
|
|
|
8
|
8
|
// Filter the relevant constants |
|
9
|
9
|
$relevant_prefixes = ['PR_', 'PidLid', 'MAPI', 'ec', 'RPC_', 'SYNC_']; |
|
10
|
|
- $relevant_constants = array_filter($constants['Core'], function ($key) use ($relevant_prefixes) { |
|
|
10
|
+ $relevant_constants = array_filter($constants['Core'], function($key) use ($relevant_prefixes) { |
|
11
|
11
|
foreach ($relevant_prefixes as $prefix) { |
|
12
|
12
|
if (strpos($key, $prefix) === 0) { |
|
13
|
13
|
return true; |
Please login to merge, or discard this patch.