1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[task/php54-ascraeus] Bring p_master#module_auth into PHP 5 era.

Split module_auth into a static and a non-static version.

Call the static version statically and the non-static version non-statically.

PHPBB3-10615
This commit is contained in:
Oleg Pudeyev
2012-03-16 04:56:41 -04:00
parent 7dfb8d7c20
commit ccdd176b72
2 changed files with 18 additions and 6 deletions

View File

@@ -128,7 +128,7 @@ class acp_users
$dropdown_modes = array();
while ($row = $db->sql_fetchrow($result))
{
if (!$this->p_master->module_auth($row['module_auth']))
if (!$this->p_master->module_auth_self($row['module_auth']))
{
continue;
}