Index: trunk/phase3/includes/filerepo/OldLocalFile.php |
— | — | @@ -198,9 +198,9 @@ |
199 | 199 | if( isset($this->deleted) && ($this->deleted & $field) ) { |
200 | 200 | global $wgUser; |
201 | 201 | $permission = ''; |
202 | | - if ( $this->deleted & self::DELETED_RESTRICTED ) { |
| 202 | + if ( $this->deleted & File::DELETED_RESTRICTED ) { |
203 | 203 | $permission = 'suppressrevision'; |
204 | | - } elseif ( $field & self::DELETED_TEXT ) { |
| 204 | + } elseif ( $field & File::DELETED_TEXT ) { |
205 | 205 | $permission = 'deletedtext'; |
206 | 206 | } else { |
207 | 207 | $permission = 'deletedhistory'; |
Index: trunk/phase3/includes/filerepo/ArchivedFile.php |
— | — | @@ -380,9 +380,9 @@ |
381 | 381 | if( $this->deleted & $field ) { |
382 | 382 | global $wgUser; |
383 | 383 | $permission = ''; |
384 | | - if ( $this->deleted & self::DELETED_RESTRICTED ) { |
| 384 | + if ( $this->deleted & File::DELETED_RESTRICTED ) { |
385 | 385 | $permission = 'suppressrevision'; |
386 | | - } elseif ( $field & self::DELETED_TEXT ) { |
| 386 | + } elseif ( $field & File::DELETED_TEXT ) { |
387 | 387 | $permission = 'deletedtext'; |
388 | 388 | } else { |
389 | 389 | $permission = 'deletedhistory'; |
Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -550,9 +550,9 @@ |
551 | 551 | if( $row->log_deleted & $field ) { |
552 | 552 | global $wgUser; |
553 | 553 | $permission = ''; |
554 | | - if ( $this->log_deleted & self::DELETED_RESTRICTED ) { |
| 554 | + if ( $this->log_deleted & LogPage::DELETED_RESTRICTED ) { |
555 | 555 | $permission = 'suppressrevision'; |
556 | | - } elseif ( $field & self::DELETED_TEXT ) { |
| 556 | + } elseif ( $field & LogPage::DELETED_TEXT ) { |
557 | 557 | $permission = 'deletedtext'; |
558 | 558 | } else { |
559 | 559 | $permission = 'deletedhistory'; |