Browse Source

Revert c3e959bc7a2c7db28d961d4a1058c4d14d9513d7

Signed-off-by: Suki <[email protected]>
Suki 11 years ago
parent
commit
e49ad839e3
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Sources/Display.php

+ 0 - 4
Sources/Display.php

@@ -1328,10 +1328,6 @@ function Download()
 
 	$_REQUEST['attach'] = isset($_REQUEST['attach']) ? (int) $_REQUEST['attach'] : (int) $_REQUEST['id'];
 
-	// Check for compatibility
-	if (isset($_REQUEST['type']) && $_REQUEST['type'] == 'avatar')
-		redirectexit('action=dlavatar;attach=' . $_REQUEST['attach']);
-
 	// This checks only the current board for $board/$topic's permissions.
 	isAllowedTo('view_attachments');