From 053e3c6c34bb4c33deceada20641982fec8b635e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 6 Apr 2008 16:33:27 +0000 Subject: [PATCH] Use constant name --- includes/SpecialRevisiondelete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialRevisiondelete.php b/includes/SpecialRevisiondelete.php index 5071673588..a35d73b8ff 100644 --- a/includes/SpecialRevisiondelete.php +++ b/includes/SpecialRevisiondelete.php @@ -1371,8 +1371,8 @@ class RevisionDeleter { $this->checkItem ( wfMsgForContent ( 'revdelete-uname' ), 4, $diff, $n, &$ret ); // Restriction application to sysops - if ( $diff & 8 ) { - if ( $n & 8 ) + if ( $diff & Revision::DELETED_RESTRICTED ) { + if ( $n & Revision::DELETED_RESTRICTED ) $ret[2][] = wfMsgForContent ( 'revdelete-restricted' ); else $ret[2][] = wfMsgForContent ( 'revdelete-unrestricted' ); -- 2.20.1