aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_bbcodes.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-04-29 17:51:21 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-04-29 17:51:21 +0200
commit89391dec089e8085f486b768ad7654f62166f4a2 (patch)
tree32132483f24f6aaf760794b3a4d3b5723351fadf /phpBB/includes/acp/acp_bbcodes.php
parent40351fae96de34312ca960abc5048c835f50e3ef (diff)
downloadforums-89391dec089e8085f486b768ad7654f62166f4a2.tar
forums-89391dec089e8085f486b768ad7654f62166f4a2.tar.gz
forums-89391dec089e8085f486b768ad7654f62166f4a2.tar.bz2
forums-89391dec089e8085f486b768ad7654f62166f4a2.tar.xz
forums-89391dec089e8085f486b768ad7654f62166f4a2.zip
[ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.
* There MUST NOT be trailing whitespace at the end of lines. * There MUST NOT be whitespace before the first content of a file. * There MUST NOT be whitespace after the last content of a file. * Functions MUST NOT contain multiple empty lines in a row. PHPBB3-12458
Diffstat (limited to 'phpBB/includes/acp/acp_bbcodes.php')
-rw-r--r--phpBB/includes/acp/acp_bbcodes.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_bbcodes.php b/phpBB/includes/acp/acp_bbcodes.php
index 84382b6276..a3686f62fe 100644
--- a/phpBB/includes/acp/acp_bbcodes.php
+++ b/phpBB/includes/acp/acp_bbcodes.php
@@ -142,7 +142,7 @@ class acp_bbcodes
case 'create':
$sql_ary = $hidden_fields = array();
-
+
/**
* Modify custom bbcode data before the modify/create action
*
@@ -210,7 +210,6 @@ class acp_bbcodes
trigger_error($user->lang['BBCODE_TAG_DEF_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING);
}
-
if (strlen($bbcode_helpline) > 255)
{
trigger_error($user->lang['BBCODE_HELPLINE_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING);
@@ -311,7 +310,7 @@ class acp_bbcodes
$db->sql_query('DELETE FROM ' . BBCODES_TABLE . " WHERE bbcode_id = $bbcode_id");
$cache->destroy('sql', BBCODES_TABLE);
add_log('admin', 'LOG_BBCODE_DELETE', $row['bbcode_tag']);
-
+
if ($request->is_ajax())
{
$json_response = new \phpbb\json_response;