ac631e Do not try to send notification if there is no-one to send to

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Do not try to send notification if there is no-one to send to
    
    Since we now remove the person doing the action from the notifications,
    we can see the situation where it was the only person listed to be
    notified in which case the to_mail list is empty.
    In such case, just return
    
        
file modified
+3 -0