aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/icon.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/icon.php')
-rw-r--r--mod/profile/icon.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/mod/profile/icon.php b/mod/profile/icon.php
index d99febd8c..33a5cde7f 100644
--- a/mod/profile/icon.php
+++ b/mod/profile/icon.php
@@ -39,11 +39,6 @@
if (!$success) {
global $CONFIG;
- $test = elgg_view("icon/user/default/{$size}",array('entity' => $entity));
- if (!empty($test)) {
- header("Location: {$test}");
- exit;
- }
$contents = @file_get_contents($CONFIG->pluginspath . "profile/graphics/default{$size}.jpg");
}