diff options
| author | Nils Adermann <naderman@naderman.de> | 2013-11-01 07:58:18 -0700 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2013-11-01 07:58:18 -0700 |
| commit | e118b4f4c0dbca5912f11e0954fa422f36a58353 (patch) | |
| tree | a4b06c160aa28839fd3bb949be1724ff55aa8ee2 /phpBB/includes/functions_convert.php | |
| parent | 652365158ab3f788a1a7b31e6e599198d19cc6f7 (diff) | |
| parent | ae7ef3e09dd284b8876ad74de16321c373d251af (diff) | |
| download | forums-e118b4f4c0dbca5912f11e0954fa422f36a58353.tar forums-e118b4f4c0dbca5912f11e0954fa422f36a58353.tar.gz forums-e118b4f4c0dbca5912f11e0954fa422f36a58353.tar.bz2 forums-e118b4f4c0dbca5912f11e0954fa422f36a58353.tar.xz forums-e118b4f4c0dbca5912f11e0954fa422f36a58353.zip | |
Merge pull request #1839 from bantu/task/code-sniffer
More PHP Code Sniffer rules
Diffstat (limited to 'phpBB/includes/functions_convert.php')
| -rw-r--r-- | phpBB/includes/functions_convert.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index a34a193f60..50acf9323c 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -823,7 +823,7 @@ function get_avatar_dim($src, $axis, $func = false, $arg1 = false, $arg2 = false break; case AVATAR_REMOTE: - // see notes on this functions usage and (hopefully) model $func to avoid this accordingly + // see notes on this functions usage and (hopefully) model $func to avoid this accordingly return get_remote_avatar_dim($src, $axis); break; @@ -1117,7 +1117,7 @@ function words_unique(&$words) * Adds a user to the specified group and optionally makes them a group leader * This function does not create the group if it does not exist and so should only be called after the groups have been created */ -function add_user_group($group_id, $user_id, $group_leader=false) +function add_user_group($group_id, $user_id, $group_leader = false) { global $convert, $phpbb_root_path, $config, $user, $db; @@ -1297,7 +1297,7 @@ function restore_config($schema) $src_ary = $schema['array_name']; $config_value = (isset($convert_config[$src_ary][$src])) ? $convert_config[$src_ary][$src] : ''; } - } + } if ($config_value !== '') { |
