dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc20609
)
bug 20739: fix call to missing function
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 19 Sep 2009 16:28:25 +0000
(16:28 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 19 Sep 2009 16:28:25 +0000
(16:28 +0000)
includes/filerepo/ArchivedFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/ArchivedFile.php
b/includes/filerepo/ArchivedFile.php
index
46a295d
..
4aeeb0c
100644
(file)
--- 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