aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-04 11:50:39 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commit266576c6a4224f4b803040c678020e825a1510b5 (patch)
treec8fdfc8cce749be837a23d7a8288027f59865d60 /phpBB/includes/functions_content.php
parent6c25ad48224e71b080e04a79dfd47b711164e0f8 (diff)
downloadforums-266576c6a4224f4b803040c678020e825a1510b5.tar
forums-266576c6a4224f4b803040c678020e825a1510b5.tar.gz
forums-266576c6a4224f4b803040c678020e825a1510b5.tar.bz2
forums-266576c6a4224f4b803040c678020e825a1510b5.tar.xz
forums-266576c6a4224f4b803040c678020e825a1510b5.zip
[ticket/13454] Remove unused variables
Part 4 PHPBB3-13454
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index 997cafdea4..4ad45a5a2e 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -651,7 +651,7 @@ function generate_text_for_storage(&$text, &$uid, &$bitfield, &$flags, $allow_bb
*/
function generate_text_for_edit($text, $uid, $flags)
{
- global $phpbb_root_path, $phpEx, $phpbb_dispatcher;
+ global $phpbb_dispatcher;
/**
* Use this event to modify the text before it is decoded for editing
@@ -763,8 +763,6 @@ function make_clickable_callback($type, $whitespace, $url, $relative_url, $class
// set last_char to empty here, so the variable can be used later to
// check whether a character was removed
default:
- $last_char = '';
- break;
}
$short_url = (utf8_strlen($url) > 55) ? utf8_substr($url, 0, 39) . ' ... ' . utf8_substr($url, -10) : $url;