Make LocalFile check early if the revision store is available
[lhc/web/wiklou.git] / includes / Storage / RevisionStore.php
index 2992211..db06afe 100644 (file)
@@ -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
         */