aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-03-17 00:46:43 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-08-01 10:18:43 +0200
commitb966551e6bef9dfd272734587fe4bc9ca7e4611c (patch)
treee9558aa23261c0a1baed2abf3bfdff0c683e23e3
parent643081d56c1a984e3b0cf4f942392c5a392c9ed6 (diff)
downloadforums-b966551e6bef9dfd272734587fe4bc9ca7e4611c.tar
forums-b966551e6bef9dfd272734587fe4bc9ca7e4611c.tar.gz
forums-b966551e6bef9dfd272734587fe4bc9ca7e4611c.tar.bz2
forums-b966551e6bef9dfd272734587fe4bc9ca7e4611c.tar.xz
forums-b966551e6bef9dfd272734587fe4bc9ca7e4611c.zip
[feature/events] Fix ledges in ACP and apply coding guidelines
PHPBB3-9550
-rw-r--r--phpBB/includes/acp/acp_profile.php2
-rw-r--r--phpBB/includes/acp/acp_users.php2
-rw-r--r--phpBB/includes/acp/info/acp_modules.php8
3 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index 6704fce26f..43426e86a7 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -27,7 +27,7 @@ class acp_profile
function main($id, $mode)
{
- global $config, $db, $user, $auth, $template, $cache;
+ global $config, $db, $user, $auth, $template, $cache, $phpbb_dispatcher;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix;
global $request;
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php
index 68077b4048..f6c2ecfc87 100644
--- a/phpBB/includes/acp/acp_users.php
+++ b/phpBB/includes/acp/acp_users.php
@@ -30,7 +30,7 @@ class acp_users
function main($id, $mode)
{
- global $config, $db, $user, $auth, $template, $cache;
+ global $config, $db, $user, $auth, $template, $cache, $phpbb_dispatcher;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix, $file_uploads;
$user->add_lang(array('posting', 'ucp', 'acp/users'));
diff --git a/phpBB/includes/acp/info/acp_modules.php b/phpBB/includes/acp/info/acp_modules.php
index fc04eec698..97616af22d 100644
--- a/phpBB/includes/acp/info/acp_modules.php
+++ b/phpBB/includes/acp/info/acp_modules.php
@@ -17,9 +17,9 @@ class acp_modules_info
global $phpbb_dispatcher;
$modules = array(
- 'acp' => array('title' => 'ACP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
- 'ucp' => array('title' => 'UCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
- 'mcp' => array('title' => 'MCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
+ 'acp' => array('title' => 'ACP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
+ 'ucp' => array('title' => 'UCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
+ 'mcp' => array('title' => 'MCP', 'auth' => 'acl_a_modules', 'cat' => array('ACP_MODULE_MANAGEMENT')),
),
$vars = array('modules');
@@ -31,7 +31,7 @@ class acp_modules_info
'filename' => 'acp_modules',
'title' => 'ACP_MODULE_MANAGEMENT',
'version' => '1.0.0',
- 'modes' => $modules
+ 'modes' => $modules,
);
return $data