diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-01-21 22:27:59 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-01-22 16:24:24 +0100 |
commit | 6fb553e92cd62926134f4f77a3069fa4439835fe (patch) | |
tree | 0196a237de384153c2d1e430384287eae4281353 /lib/public/files/storage | |
parent | ff5715779c56ceacc870307bf25f4e769ff22a1a (diff) | |
download | nextcloud-server-6fb553e92cd62926134f4f77a3069fa4439835fe.tar.gz nextcloud-server-6fb553e92cd62926134f4f77a3069fa4439835fe.zip |
Do not call wrapStorage if storate with same name added twice
Diffstat (limited to 'lib/public/files/storage')
-rw-r--r-- | lib/public/files/storage/istoragefactory.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/files/storage/istoragefactory.php b/lib/public/files/storage/istoragefactory.php index 769d7011de4..48c12e44cdd 100644 --- a/lib/public/files/storage/istoragefactory.php +++ b/lib/public/files/storage/istoragefactory.php @@ -19,6 +19,8 @@ interface IStorageFactory { * * @param string $wrapperName * @param callable $callback + * @return true if the wrapper was added, false if there was already a wrapper with this + * name registered */ public function addStorageWrapper($wrapperName, $callback); |