[ljcom] r5365: New disable virtual gift options, so the...

Aug 21, 2007 23:08


Committer: janineNew disable virtual gift options, so the user can disable the receipt of some/all vgifts:
- Don't disable vgifts = available to all, default for all but Paid/Perm
- Disable all vgifts = available to all, default for none
- Disable sponsored vgifts only = available to all but Plus, default for Paid/Perm

U trunk/bin/upgrading/ ( Read more... )

Leave a comment

Comments 2

burr86 August 22 2007, 01:05:52 UTC
Why do we need opt_disable_vgifts_manually_set -- we could just do, like:

if $u->raw_prop("opt_disable_vgifts") {
return (that value)
} elsif ($u->is_paid)) {
return "sponsored"
} else {
return "none"
}

or whatever?

Reply

pauamma August 22 2007, 08:21:33 UTC
Looks like it's the time the user set the option, not the value they set it to. (I'm not sure what it's for, though.)

Reply


Leave a comment

Up