mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/10404] Fix codesniffer complaint about anonymous function [ticket/10404] Use anonymous function instead of create_function in acp/auth
This commit is contained in:
commit
eeb80d2ec5
1 changed files with 4 additions and 1 deletions
|
@ -183,7 +183,10 @@ class auth_admin extends \phpbb\auth\auth
|
||||||
}
|
}
|
||||||
|
|
||||||
// Defining the user-function here to save some memory
|
// 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
|
// Actually fill the gaps
|
||||||
if (sizeof($hold_ary))
|
if (sizeof($hold_ary))
|
||||||
|
|
Loading…
Add table
Reference in a new issue