Selaa lähdekoodia

Revert c3e959bc7a2c7db28d961d4a1058c4d14d9513d7

Signed-off-by: Suki <[email protected]>
Suki 12 vuotta sitten
vanhempi
commit
e49ad839e3
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  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');