From ab6680e9ab4c7ba24bcd47c01b46d2ca8993bc96 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Mon, 2 Jun 2014 15:06:15 +0200 Subject: name the storage wrapper to make sure that we don't apply the wrapper multiple times --- lib/private/files/filesystem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private/files/filesystem.php') diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php index ad7213d2368..2cc4a2130eb 100644 --- a/lib/private/files/filesystem.php +++ b/lib/private/files/filesystem.php @@ -168,8 +168,8 @@ class Filesystem { /** * @param callable $wrapper */ - public static function addStorageWrapper($wrapper) { - self::getLoader()->addStorageWrapper($wrapper); + public static function addStorageWrapper($wrapperName, $wrapper) { + self::getLoader()->addStorageWrapper($wrapperName, $wrapper); $mounts = self::getMountManager()->getAll(); foreach ($mounts as $mount) { -- cgit v1.2.3