Explorar el Código

! Unnecessary code

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer hace 10 años
padre
commit
8fa1471dbd
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      Sources/Subs-Post.php

+ 0 - 3
Sources/Subs-Post.php

@@ -823,9 +823,6 @@ function sendpm($recipients, $subject, $message, $store_outbox = false, $from =
 			'name' => $user_info['name'],
 			'username' => $user_info['username']
 		);
-	// Probably not needed.  /me something should be of the typer.
-	else
-		$user_info['name'] = $from['name'];
 
 	// This is the one that will go in their inbox.
 	$htmlmessage = $smcFunc['htmlspecialchars']($message, ENT_QUOTES);