diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-02 15:06:15 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-04 07:55:46 +0200 |
commit | ab6680e9ab4c7ba24bcd47c01b46d2ca8993bc96 (patch) | |
tree | ef6b34276b0b4f0b248b12298dafd1fd6b6134d6 /lib/private/files/filesystem.php | |
parent | 3a698bce6e7def580eea5773a0b62d0fa25edc5e (diff) | |
download | nextcloud-server-ab6680e9ab4c7ba24bcd47c01b46d2ca8993bc96.tar.gz nextcloud-server-ab6680e9ab4c7ba24bcd47c01b46d2ca8993bc96.zip |
name the storage wrapper to make sure that we don't apply the wrapper multiple times
Diffstat (limited to 'lib/private/files/filesystem.php')
-rw-r--r-- | lib/private/files/filesystem.php | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |