Преглед на файлове

Revert c3e959bc7a2c7db28d961d4a1058c4d14d9513d7

Signed-off-by: Suki <[email protected]>
Suki преди 12 години
родител
ревизия
e49ad839e3
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  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');