mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 15:16:16 +02:00
[ticket/10404] Use anonymous function instead of create_function in acp/auth
PHPBB3-10404
This commit is contained in:
parent
e4e7a8f849
commit
c5d72c94f1
@ -183,7 +183,7 @@ class auth_admin extends \phpbb\auth\auth
|
||||
}
|
||||
|
||||
// Defining the user-function here to save some memory
|
||||
$return_acl_fill = create_function('$value', 'return ' . $acl_fill . ';');
|
||||
$return_acl_fill = function () use ($acl_fill) { return $acl_fill; };
|
||||
|
||||
// Actually fill the gaps
|
||||
if (sizeof($hold_ary))
|
||||
|
Loading…
x
Reference in New Issue
Block a user