Browse Source

I uploaded the avatars I needed to test things out, theres no need for this anymore

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

+ 0 - 4
Sources/Profile-Modify.php

@@ -2676,10 +2676,6 @@ function profileSaveAvatarData(&$value)
 		$id_folder = 1;
 	}
 
-	// Temp, this is TEMP, since the attachment dir most likely will be created on install/upgrade and for the sake of not adding a custom one, lets temporary hardcode the path
-	global $boarddir;
-	$uploadDir = $boarddir . '/attachments';
-
 	$downloadedExternalAvatar = false;
 	if ($value == 'external' && allowedTo('profile_remote_avatar') && stripos($_POST['userpicpersonal'], 'http://') === 0 && strlen($_POST['userpicpersonal']) > 7 && !empty($modSettings['avatar_download_external']))
 	{