Hide create new account tab How to hide Create new account and Request new password tabs in user login form? I use Drupal 7. I use custom theme. Maybe in template.php file some function?

You can see my page - http://broceni.garm.lv/
The Tab Tamer module will do it for you without having to write a single line of code:


  Tab Tamer is an administration utility that provides easy re-ordering, hiding, and deactivation of tabs and subtabs. You can also rename tab labels.