To me that sounds like part of a signature? In that case I think it was the right choice to edit it out.
If it was part of the sample code for example, editing it out also seems like the correct choice. Since the user has the possibly to rollback your changes if he/she feels that the edit was invalid it is really no major problem.
I'm more concerned when people manages to copy in namespaces etc. containing client names though, since that company probably does not want their name and projects to be spread without their concent