aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-24 12:55:41 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-24 12:56:39 -0500
commit4b761f65758c40db4851983fa3a08d354da3323d (patch)
tree8bc46941ba86b83d190dcb4648f275138215ed85 /phpBB/adm
parentbfbc7aa74250ea5e9e39efc63caf7cfdb9407e14 (diff)
downloadforums-4b761f65758c40db4851983fa3a08d354da3323d.tar
forums-4b761f65758c40db4851983fa3a08d354da3323d.tar.gz
forums-4b761f65758c40db4851983fa3a08d354da3323d.tar.bz2
forums-4b761f65758c40db4851983fa3a08d354da3323d.tar.xz
forums-4b761f65758c40db4851983fa3a08d354da3323d.zip
[ticket/11628] Remove third parameter ($names) from set_custom_style
This was basically duplicating functionality. $names would be used if not empty, else array($name) would be used. Merged functionality into the first argument PHPBB3-11628
Diffstat (limited to 'phpBB/adm')
-rw-r--r--phpBB/adm/index.php2
-rw-r--r--phpBB/adm/swatch.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php
index 3f29072899..c79327d22c 100644
--- a/phpBB/adm/index.php
+++ b/phpBB/adm/index.php
@@ -50,7 +50,7 @@ $module_id = request_var('i', '');
$mode = request_var('mode', '');
// Set custom style for admin area
-$template->set_custom_style('admin', $phpbb_admin_path . 'style', array(), '');
+$template->set_custom_style('admin', $phpbb_admin_path . 'style', '');
$template->assign_var('T_ASSETS_PATH', $phpbb_root_path . 'assets');
$template->assign_var('T_TEMPLATE_PATH', $phpbb_admin_path . 'style');
diff --git a/phpBB/adm/swatch.php b/phpBB/adm/swatch.php
index 70441ffeed..ef89081dc8 100644
--- a/phpBB/adm/swatch.php
+++ b/phpBB/adm/swatch.php
@@ -22,7 +22,7 @@ $auth->acl($user->data);
$user->setup();
// Set custom template for admin area
-$template->set_custom_style('admin', $phpbb_admin_path . 'style', array(), '');
+$template->set_custom_style('admin', $phpbb_admin_path . 'style', '');
$template->set_filenames(array(
'body' => 'colour_swatch.html')