summaryrefslogtreecommitdiffstats
path: root/lib/public/files
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-01-27 17:05:38 +0100
committerVincent Petry <pvince81@owncloud.com>2015-01-27 17:05:38 +0100
commitacec40fe5aea032b9ee81116c721848d1d37355f (patch)
tree26fb4e56ec10fff43df1eef23f27881ce9a543da /lib/public/files
parent3478634df1ce2b7717bfe211425f59c4107688f8 (diff)
parent12867b9c788487aa67ebfb4f8ee1e9997877ee69 (diff)
downloadnextcloud-server-acec40fe5aea032b9ee81116c721848d1d37355f.tar.gz
nextcloud-server-acec40fe5aea032b9ee81116c721848d1d37355f.zip
Merge pull request #13561 from owncloud/trash-finaldeletewhencrossstoragefix
Call final unlink in trash wrapper's storage
Diffstat (limited to 'lib/public/files')
-rw-r--r--lib/public/files/storage/istoragefactory.php2
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..50c844af2e6 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 bool true if the wrapper was added, false if there was already a wrapper with this
+ * name registered
*/
public function addStorageWrapper($wrapperName, $callback);