User "Owyn" posted a comment on MediaWiki.r92605.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/92605#c20390
Commit summary:

added missing null checks in callers of Revision::newNullRevision

Comment:

The callers in this case...  The revision function can return null but nothing 
was checking for that return value.  It's only used in a few places so it 
seemed easier to fix with a check for null rather than rewriting that function 
to throw an exception.

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

Reply via email to