Karl (supersat) wrote in lj_dev,
Karl
supersat
lj_dev

FIX: @livejournal.com aliases broken for permanent accounts

As noted here, ljcom/bin/maint/pay.pl doesn't insert a row into the paiduser table for permanent accounts, which causes ljcom/bin/maint/aliases.pl to not generate an alias for new permanent users. I've patched ljcom/bin/maint/pay.pl so it now inserts a row into the paiduser table for permanent accounts. You can get the patch here.

The second patch I made changes the way ljcom/bin/maint/aliases.pl generates its list of paid users. Instead of relying on the paiduser table, it checks to make sure user.caps & 8 is true. This has the benefit of fixing current permanent accounts with broken @livejournal.com aliases. Otherwise, a script will need to be hacked up to insert permanent users into the paiduser table that aren't already there, which should probably be done anyway for consistancy. Get the patch here.
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