"Awjrichards" posted a comment on MediaWiki.r112732.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/112732#c31856

Commit summary for MediaWiki.r112732:

Added unsetVal() method as antithesis to setVal()

Awjrichards's comment:

It's for unsetting vals :p  In putting together some unit tests for 
MobileFrontend, I found I needed an easy way to both set and unset values in 
$wgRequest. It provided the setVal() method but no unsetVal() method, so I 
added it. More generally, it seems that if you can arbitrarily set values, you 
ought to be able to unset them as well.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to