dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make LocalFile check early if the revision store is available
[lhc/web/wiklou.git]
/
includes
/
Storage
/
RevisionStore.php
diff --git
a/includes/Storage/RevisionStore.php
b/includes/Storage/RevisionStore.php
index
2992211
..
db06afe
100644
(file)
--- a/
includes/Storage/RevisionStore.php
+++ b/
includes/Storage/RevisionStore.php
@@
-132,6
+132,13
@@
class RevisionStore
$this->logger = $logger;
}
+ /**
+ * @return bool Whether the store is read-only
+ */
+ public function isReadOnly() {
+ return $this->blobStore->isReadOnly();
+ }
+
/**
* @return bool
*/