So much for the 'pointless' array init.

This commit is contained in:
flash 2018-07-18 04:08:47 +02:00
parent 031a7f1413
commit bf903a38d0

View file

@ -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;