summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Storage/Root.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Preview/Storage/Root.php')
-rw-r--r--lib/private/Preview/Storage/Root.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/private/Preview/Storage/Root.php b/lib/private/Preview/Storage/Root.php
index 107d87c6301..37ae1758121 100644
--- a/lib/private/Preview/Storage/Root.php
+++ b/lib/private/Preview/Storage/Root.php
@@ -41,6 +41,17 @@ class Root extends AppData {
$internalFolder = $this->getInternalFolder($name);
try {
+ return parent::getFolder('old-multibucket/' . $internalFolder);
+ } catch (NotFoundException $e) {
+ // not in multibucket fallback #1
+ }
+ try {
+ return parent::getFolder('old-multibucket/' . $name);
+ } catch (NotFoundException $e) {
+ // not in multibucket fallback #2
+ }
+
+ try {
return parent::getFolder($internalFolder);
} catch (NotFoundException $e) {
/*