Timwi (timwi) wrote in lj_dev,
Timwi
timwi
lj_dev

Quick question

In talkpost.bml, I find this:

 LJ::load_user_props($dbs, $u,  
                     "opt_showtopicstuff", "opt_notalkicons", 
                     "opt_logcommentips");


However, other parts of this file use more options than just these, e.g. $u->{'opt_showtalklinks'}. Why do the above three options need extra loading using LJ::load_user_props, but opt_showtalklinks doesn't? If there's a list of default options to load, where is this list? I couldn't find it anywhere. There's no explicit mention of opt_showtalklinks anywhere in ljlib.pl or talklib.pl.

Thanks for any help.
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 

  • 2 comments