aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/output.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-02-04 20:59:06 -0500
committerCash Costello <cash.costello@gmail.com>2013-02-09 08:14:23 -0500
commit269d3621531a80b13221a2f6e663efe2ad20ccaa (patch)
tree68f69ccace8be00d579d96f02d77c93f196e53a0 /engine/lib/output.php
parent78e0ec583619cbb728cbe03df857c8219acaac7e (diff)
downloadelgg-269d3621531a80b13221a2f6e663efe2ad20ccaa.tar.gz
elgg-269d3621531a80b13221a2f6e663efe2ad20ccaa.tar.bz2
remove unused code: vars, foreach keys, etc
Diffstat (limited to 'engine/lib/output.php')
-rw-r--r--engine/lib/output.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/engine/lib/output.php b/engine/lib/output.php
index fefb94b3e..da8e1ab86 100644
--- a/engine/lib/output.php
+++ b/engine/lib/output.php
@@ -224,7 +224,6 @@ function elgg_normalize_url($url) {
$php_5_3_0_to_5_3_2 = version_compare(PHP_VERSION, '5.3.0', '>=') &&
version_compare(PHP_VERSION, '5.3.3', '<');
- $validated = false;
if ($php_5_2_13_and_below || $php_5_3_0_to_5_3_2) {
$tmp_address = str_replace("-", "", $url);
$validated = filter_var($tmp_address, FILTER_VALIDATE_URL);