So much for the 'pointless' array init.
This commit is contained in:
parent
031a7f1413
commit
bf903a38d0
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ define('MSZ_PERM_SETS', [
|
||||||
MSZ_PERMS_ALLOW, MSZ_PERMS_DENY
|
MSZ_PERMS_ALLOW, MSZ_PERMS_DENY
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
// phpcs:disable
|
||||||
|
$_msz_perms_cache = [];
|
||||||
|
// phpcs:enable
|
||||||
|
|
||||||
function perms_construct_cache_key(string $prefix, string $mode, int $pid): string
|
function perms_construct_cache_key(string $prefix, string $mode, int $pid): string
|
||||||
{
|
{
|
||||||
return $prefix . '_' . $mode . '_' . $pid;
|
return $prefix . '_' . $mode . '_' . $pid;
|
||||||
|
|
Loading…
Add table
Reference in a new issue