Index: trunk/phase3/includes/filerepo/ArchivedFile.php |
— | — | @@ -344,6 +344,15 @@ |
345 | 345 | } |
346 | 346 | |
347 | 347 | /** |
| 348 | + * Returns the deletion bitfield |
| 349 | + * @return int |
| 350 | + */ |
| 351 | + public function getVisibility() { |
| 352 | + $this->load(); |
| 353 | + return $this->deleted; |
| 354 | + } |
| 355 | + |
| 356 | + /** |
348 | 357 | * int $field one of DELETED_* bitfield constants |
349 | 358 | * for file or revision rows |
350 | 359 | * @return bool |