dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f41e3c
)
Use constant name
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 6 Apr 2008 16:33:27 +0000
(16:33 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 6 Apr 2008 16:33:27 +0000
(16:33 +0000)
includes/SpecialRevisiondelete.php
patch
|
blob
|
history
diff --git
a/includes/SpecialRevisiondelete.php
b/includes/SpecialRevisiondelete.php
index
5071673
..
a35d73b
100644
(file)
--- 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' );