==== Patch <fix_1096_trunk> level 1
Source: [No source]
Target: 1a063a9b-81f0-0310-95a4-ce76da25c4cd:/trunk:2444 [mirrored]
        (http://svn.automattic.com/wordpress/trunk)
Log:
Do not send notification for admin if reset done by admin - #1096
=== wp-login.php
==================================================================
--- wp-login.php  (revision 2444)
+++ wp-login.php  (patch fix_1096_trunk level 1)
@@ -151,8 +151,9 @@
 	} else {
 		echo '<p>' .  sprintf(__("Your new password is in the mail."), $user_login) . '<br />';
         echo  "<a href='wp-login.php' title='" . __('Check your e-mail first, of course') . "'>" . __('Click here to login!') . '</a></p>';
-		// send a copy of password change notification to the admin
-		wp_mail(get_settings('admin_email'), sprintf(__('[%s] Password Lost/Change'), get_settings('blogname')), sprintf(__('Password Lost and Changed for user: %s'), $user->user_login));
+		// send a copy of password change notification to the admin(if we are not the admin:-))
+		if ($user->user_email!=get_settings('admin_email')) 
+			wp_mail(get_settings('admin_email'), sprintf(__('[%s] Password Lost/Change'), get_settings('blogname')), sprintf(__('Password Lost and Changed for user: %s'), $user->user_login));
 		die();
 	}
 break;
