(Bug 41370) protect aginst content-less revisions
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 25 Oct 2012 07:51:23 +0000 (09:51 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 25 Oct 2012 07:51:23 +0000 (09:51 +0200)
commitaeaa72ff8b97f20b255cc6dca2e871173750952e
tree9d0eba45a7ea91319ead25ba7321a474719dbf6e
parentd05ddf6e0649c843d4314b292102011d46e0ba08
(Bug 41370) protect aginst content-less revisions

getAutoDeletereason did not gracefully deal with revisions that would
return null as their content (e.g. for deleted revisions).

Change-Id: I4976f2d09b8666ca1bccebea346af37ee77b09f7
includes/content/ContentHandler.php