Remove Ad Sharing for Supporter

How to Remove It?

ad-sharing.php line:170

Add this:
if(function_exists('is_supporter') && is_supporter() ) {
$display_ads = 'no';
}

This is not working. Do you have any idea?