aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/sharedpropagator.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-04-15 09:01:10 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-19 14:04:00 +0200
commit6123badbfa22b79167c4b41f84a38b372f033a2e (patch)
tree2fef3c77c9d535276a091b35d019c441f638daaf /apps/files_sharing/lib/sharedpropagator.php
parent3f95d44ed149001f928806274cdbffb9718dca07 (diff)
downloadnextcloud-server-6123badbfa22b79167c4b41f84a38b372f033a2e.tar.gz
nextcloud-server-6123badbfa22b79167c4b41f84a38b372f033a2e.zip
Move SharedStorage et al over to the shareManager and jail
Diffstat (limited to 'apps/files_sharing/lib/sharedpropagator.php')
-rw-r--r--apps/files_sharing/lib/sharedpropagator.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedpropagator.php b/apps/files_sharing/lib/sharedpropagator.php
index 29735934499..8de90b9552b 100644
--- a/apps/files_sharing/lib/sharedpropagator.php
+++ b/apps/files_sharing/lib/sharedpropagator.php
@@ -36,9 +36,8 @@ class SharedPropagator extends Propagator {
* @return \array[] all propagated entries
*/
public function propagateChange($internalPath, $time, $sizeDifference = 0) {
- $source = $this->storage->getSourcePath($internalPath);
/** @var \OC\Files\Storage\Storage $storage */
- list($storage, $sourceInternalPath) = \OC\Files\Filesystem::resolvePath($source);
+ list($storage, $sourceInternalPath) = $this->storage->resolvePath($internalPath);
return $storage->getPropagator()->propagateChange($sourceInternalPath, $time, $sizeDifference);
}
}