From a4147ef83e7c1c096712171c0872e846c544fa3d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 13 Nov 2009 21:36:05 +0000 Subject: [PATCH] Use isDeleted() instead of raw bitfield op --- includes/specials/SpecialContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index ec21c9c479..1e52cb5159 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -643,7 +643,7 @@ class ContribsPager extends ReverseChronologicalPager { $ret = "{$del}{$d} {$histlink}{$difftext} {$nflag}{$mflag} {$link}{$userlink} {$comment} {$topmarktext}"; # Denote if username is redacted for this edit - if( $rev->getVisibility() & Revision::DELETED_USER ) { + if( $rev->isDeleted( Revision::DELETED_USER ) ) { $ret .= " " . wfMsgHtml('rev-deleted-user') . ""; } -- 2.20.1