From d222ccede2b3807240e58477a6ff5b8fc667f5fc Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 19 Sep 2009 16:28:25 +0000 Subject: [PATCH] bug 20739: fix call to missing function --- includes/filerepo/ArchivedFile.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/includes/filerepo/ArchivedFile.php b/includes/filerepo/ArchivedFile.php index 46a295d7ab..4aeeb0c16d 100644 --- a/includes/filerepo/ArchivedFile.php +++ b/includes/filerepo/ArchivedFile.php @@ -343,6 +343,15 @@ class ArchivedFile return $this->description; } + /** + * Returns the deletion bitfield + * @return int + */ + public function getVisibility() { + $this->load(); + return $this->deleted; + } + /** * int $field one of DELETED_* bitfield constants * for file or revision rows -- 2.20.1