1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/13454] Remove unused variables

This is the first part of the changes. More to come.

PHPBB3-13454
This commit is contained in:
Marc Alexander
2015-12-03 17:50:29 +01:00
parent d0adbe94d5
commit 73e6e5b77f
72 changed files with 85 additions and 144 deletions

View File

@@ -82,8 +82,8 @@ class p_master
*/
function list_modules($p_class)
{
global $auth, $db, $user, $cache;
global $config, $phpbb_root_path, $phpEx, $phpbb_dispatcher;
global $db, $user, $cache;
global $phpbb_dispatcher;
// Sanitise for future path use, it's escaped as appropriate for queries
$this->p_class = str_replace(array('.', '/', '\\'), '', basename($p_class));