Index: branches/filerepo-work/phase3/includes/filerepo/ArchivedFile.php |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | if( isset($this->mDeleted) && ($this->mDeleted & $field) == $field ) { |
100 | 100 | // images |
101 | 101 | global $wgUser; |
102 | | - $permission = ( $this->mDeleted & Revision::DELETED_RESTRICTED ) == Revision::DELETED_RESTRICTED |
| 102 | + $permission = ( $this->mDeleted & File::DELETED_RESTRICTED ) == File::DELETED_RESTRICTED |
103 | 103 | ? 'hiderevision' |
104 | 104 | : 'deleterevision'; |
105 | 105 | wfDebug( "Checking for $permission due to $field match on $this->mDeleted\n" ); |