How to remove “login to reply” from individual comments [duplicate]

Easy way: Add if statement checking if user is logged in our not. Then use CSS and add display:none for the DIV in question?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)