diff options
Diffstat (limited to 'lib/private/util.php')
-rw-r--r-- | lib/private/util.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 6884e55c243..6f53be8446a 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -165,7 +165,7 @@ class OC_Util { // install storage availability wrapper, before most other wrappers \OC\Files\Filesystem::addStorageWrapper('oc_availability', function ($mountPoint, $storage) { - if (!$storage->isLocal()) { + if (!$storage->instanceOfStorage('\OC\Files\Storage\Shared') && !$storage->isLocal()) { return new \OC\Files\Storage\Wrapper\Availability(['storage' => $storage]); } return $storage; @@ -726,7 +726,8 @@ class OC_Util { 'classes' => array( 'ZipArchive' => 'zip', 'DOMDocument' => 'dom', - 'XMLWriter' => 'XMLWriter' + 'XMLWriter' => 'XMLWriter', + 'XMLReader' => 'XMLReader', ), 'functions' => [ 'xml_parser_create' => 'libxml', |