From: Aaron Schulz Date: Sat, 19 Sep 2009 16:28:25 +0000 (+0000) Subject: bug 20739: fix call to missing function X-Git-Tag: 1.31.0-rc.0~39624 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=d222ccede2b3807240e58477a6ff5b8fc667f5fc;p=lhc%2Fweb%2Fwiklou.git bug 20739: fix call to missing function --- 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