xb95 (xb95) wrote in lj_dev,
xb95
xb95
lj_dev

$dbh vs. $dbr in community/join.bml

Question for you guys.

The community/join.bml file is $dbh happy, using it for everything including the initial few reads it needs to do. I know it does a write later, but, shouldn't those be $dbr's for efficiency? I realize that it's not called all -that- much since it's just for joining a community but I was kinda curious if, in a case like this, $dbh should still be used, or if it should be converted.

Since I'm already playing with all the community stuff to work on an e-mail on post system, I can go ahead and change those while I'm at it, if they should be. Thanks. :)
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment